diff options
Diffstat (limited to 'meta-extras/packages/lirc/lirc_0.8.3.bb')
-rw-r--r-- | meta-extras/packages/lirc/lirc_0.8.3.bb | 31 |
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 @@ | |||
1 | DESCRIPTION = "LIRC is a package that allows you to decode and send infra-red signals of many commonly used remote controls." | ||
2 | SECTION = "console/network" | ||
3 | PRIORITY = "optional" | ||
4 | LICENSE = "GPL" | ||
5 | DEPENDS = "virtual/kernel virtual/libx11 libxau libsm libice" | ||
6 | PR = "r5" | ||
7 | |||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/lirc/lirc-${PV}.tar.gz \ | ||
9 | file://lircd.init file://lircmd.init" | ||
10 | S = "${WORKDIR}/lirc-${PV}" | ||
11 | |||
12 | inherit autotools module-base update-rc.d | ||
13 | |||
14 | INITSCRIPT_NAME = "lircd" | ||
15 | INITSCRIPT_PARAMS = "defaults 20" | ||
16 | |||
17 | include lirc-config.inc | ||
18 | |||
19 | EXTRA_OEMAKE = 'SUBDIRS="daemons tools"' | ||
20 | |||
21 | do_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 | |||
29 | PACKAGES =+ "lirc-x" | ||
30 | |||
31 | FILES_lirc-x = "${bindir}/irxevent ${bindir}/xmode2" | ||