diff options
Diffstat (limited to 'meta/packages/lirc/lirc_0.8.3.bb')
-rw-r--r-- | meta/packages/lirc/lirc_0.8.3.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/packages/lirc/lirc_0.8.3.bb b/meta/packages/lirc/lirc_0.8.3.bb new file mode 100644 index 0000000000..99c37e0578 --- /dev/null +++ b/meta/packages/lirc/lirc_0.8.3.bb | |||
@@ -0,0 +1,37 @@ | |||
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_stage() { | ||
22 | oe_libinstall -so -C tools liblirc_client ${STAGING_LIBDIR} | ||
23 | install -d ${STAGING_INCDIR}/lirc/ | ||
24 | install -m 0644 tools/lirc_client.h ${STAGING_INCDIR}/lirc/ | ||
25 | } | ||
26 | |||
27 | do_install_append() { | ||
28 | install -d ${D}${sysconfdir}/init.d | ||
29 | install ${WORKDIR}/lircd.init ${D}${sysconfdir}/init.d/lircd | ||
30 | |||
31 | install -d ${D}${datadir}/lirc/ | ||
32 | cp -pPR ${S}/remotes ${D}${datadir}/lirc/ | ||
33 | } | ||
34 | |||
35 | PACKAGES =+ "lirc-x" | ||
36 | |||
37 | FILES_lirc-x = "${bindir}/irxevent ${bindir}/xmode2" | ||