summaryrefslogtreecommitdiffstats
path: root/meta/packages/lirc/lirc_0.8.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/lirc/lirc_0.8.3.bb')
-rw-r--r--meta/packages/lirc/lirc_0.8.3.bb37
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 @@
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_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
27do_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
35PACKAGES =+ "lirc-x"
36
37FILES_lirc-x = "${bindir}/irxevent ${bindir}/xmode2"