diff options
author | cheusov <cheusov@pkgsrc.org> | 2012-12-02 01:21:50 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2012-12-02 01:21:50 +0000 |
commit | 5e9cbb22e8e5b2fc77bd1fbaa942069dd30557eb (patch) | |
tree | f7531aa76ac4d6e24f81954c89525e17c2812b30 /comms/lirc/Makefile | |
parent | 293f0e7f5931b11cd9b0965dd193845f72c8ca86 (diff) | |
download | pkgsrc-5e9cbb22e8e5b2fc77bd1fbaa942069dd30557eb.tar.gz |
Import LIRC, Linux Infrared Remote Control
LIRC is a package that supports receiving and sending IR signals of
the most common IR remote controls. It contains a daemon that decodes
and sends IR signals, a mouse daemon that translates IR signals to
mouse movements and a couple of user programs that allow to control
your computer with a remote control.
Tested on RHEL.
Diffstat (limited to 'comms/lirc/Makefile')
-rw-r--r-- | comms/lirc/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/comms/lirc/Makefile b/comms/lirc/Makefile new file mode 100644 index 00000000000..59bd0064fd4 --- /dev/null +++ b/comms/lirc/Makefile @@ -0,0 +1,40 @@ +# $NetBSD: Makefile,v 1.1 2012/12/02 01:21:50 cheusov Exp $ +# + +DISTNAME= lirc-0.9.0 +CATEGORIES= comms +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lirc/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= cheusov@tut.by +HOMEPAGE= http://www.lirc.org/ +COMMENT= Linux Infrared Remote Control +LICENSE= gnu-gpl-v2 + +USE_LIBTOOL= yes +USE_TOOLS+= gmake + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-syslog --with-driver=userspace +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} + +RCD_SCRIPTS= lircd + +EGDIR= ${PREFIX}/share/examples/lirc +EGFILES= lircd.conf lircmd.conf + +INSTALLATION_DIRS= ${EGDIR} + +post-install: +.for i in ${EGFILES} + ${INSTALL_DATA} ${WRKSRC}/contrib/${i} ${DESTDIR}${EGDIR} +.endfor + +.include "available.mk" +.if ${LIRC_AVAILABLE} == no +PKG_FAIL_REASON= "lirc is not available for this platform" +.endif + +.include "options.mk" + +.include "../../mk/bsd.pkg.mk" |