summaryrefslogtreecommitdiffstats
path: root/meta-extras/packages/lirc/lirc_0.8.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-extras/packages/lirc/lirc_0.8.3.bb')
-rw-r--r--meta-extras/packages/lirc/lirc_0.8.3.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-extras/packages/lirc/lirc_0.8.3.bb b/meta-extras/packages/lirc/lirc_0.8.3.bb
new file mode 100644
index 0000000000..9e4cacc3e4
--- /dev/null
+++ b/meta-extras/packages/lirc/lirc_0.8.3.bb
@@ -0,0 +1,31 @@
1DESCRIPTION = "LIRC is a package that allows you to decode and send infra-red signals of many commonly used remote controls."
2SECTION = "console/network"
3PRIORITY = "optional"
4LICENSE = "GPL"
5DEPENDS = "virtual/kernel virtual/libx11 libxau libsm libice"
6PR = "r5"
7
8SRC_URI = "${SOURCEFORGE_MIRROR}/lirc/lirc-${PV}.tar.gz \
9 file://lircd.init file://lircmd.init"
10S = "${WORKDIR}/lirc-${PV}"
11
12inherit autotools module-base update-rc.d
13
14INITSCRIPT_NAME = "lircd"
15INITSCRIPT_PARAMS = "defaults 20"
16
17include lirc-config.inc
18
19EXTRA_OEMAKE = 'SUBDIRS="daemons tools"'
20
21do_install_append() {
22 install -d ${D}${sysconfdir}/init.d
23 install ${WORKDIR}/lircd.init ${D}${sysconfdir}/init.d/lircd
24
25 install -d ${D}${datadir}/lirc/
26 cp -pPR ${S}/remotes ${D}${datadir}/lirc/
27}
28
29PACKAGES =+ "lirc-x"
30
31FILES_lirc-x = "${bindir}/irxevent ${bindir}/xmode2"