summaryrefslogtreecommitdiffstats
path: root/package/lirc-tools/lirc-tools.mk
diff options
context:
space:
mode:
authorRhys Williams <github@wilberforce.co.nz>2015-03-25 10:40:28 +1300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-03 15:16:40 +0200
commit1ba7e76d5786114e05482ae6528e6da61eb12be3 (patch)
treee7c3e086065a87fc3e6bccd655448b5eb4363a6e /package/lirc-tools/lirc-tools.mk
parent4b47ab6cd45fe383c14cb3a2e5426c87477f14db (diff)
downloadbuildroot-1ba7e76d5786114e05482ae6528e6da61eb12be3.tar.gz
buildroot-1ba7e76d5786114e05482ae6528e6da61eb12be3.zip
lirc-tools: new package
This package adds the userspace tools and daemons LIRC - Linux remote control [Thomas: - rewrap Config.in help text, lines were too long. And do a bit of rewording also. - remove trailing whitespaces in Config.in. - make sure Config.in is included from package/Config.in, otherwise the package is not visible. - use a full destination path when installing the sysv init script. - add dependency on BR2_USE_MMU, since fork() is used. - fix init script: use -n option to not daemonize since start-stop-daemon is already doing that, use 'mkdir -p' and 'ln -sf' to make the 'start' action re-executable.] Signed-off-by: Rhys Williams <github@wilberforce.co.nz> Reviewed-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lirc-tools/lirc-tools.mk')
-rw-r--r--package/lirc-tools/lirc-tools.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/lirc-tools/lirc-tools.mk b/package/lirc-tools/lirc-tools.mk
new file mode 100644
index 0000000000..af332eaa76
--- /dev/null
+++ b/package/lirc-tools/lirc-tools.mk
@@ -0,0 +1,23 @@
+################################################################################
+#
+# lirc-tools
+#
+################################################################################
+
+LIRC_TOOLS_VERSION = 0.9.2
+LIRC_TOOLS_SOURCE = lirc-$(LIRC_TOOLS_VERSION).tar.bz2
+LIRC_TOOLS_SITE = http://downloads.sourceforge.net/project/lirc/LIRC/$(LIRC_TOOLS_VERSION)/
+LIRC_TOOLS_LICENSE = GPLv2+
+LIRC_TOOLS_LICENSE_FILES = COPYING
+
+LIRC_TOOLS_CONF_OPTS = \
+ --without-x \
+ --enable-sandboxed \
+ --with-driver=userspace
+
+define LIRC_TOOLS_INSTALL_INIT_SYSV
+ $(INSTALL) -D -m 0755 package/lirc-tools/S25lircd \
+ $(TARGET_DIR)/etc/init.d/S25lircd
+endef
+
+$(eval $(autotools-package))
OpenPOWER on IntegriCloud