summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-12-04 22:42:11 +0000
committerPhil Blundell <philb@gnu.org>2004-12-04 22:42:11 +0000
commit5b557214fee333026812cc51f5ebffdfd46fc106 (patch)
treebef26df40ffb5049647275d6cab7a4c836989567
parente53c12ba6ba08bf8c6e61cc935592f6e58b089a4 (diff)
bring lirc_0.7.0 up to date with 0.6.6+cvs
BKrev: 41b23d43kDPANNbtXXQgqeUGJWUjHA
-rw-r--r--lirc/lirc_0.7.0.oe19
1 files changed, 16 insertions, 3 deletions
diff --git a/lirc/lirc_0.7.0.oe b/lirc/lirc_0.7.0.oe
index 7f5b763f5c..159a914ff6 100644
--- a/lirc/lirc_0.7.0.oe
+++ b/lirc/lirc_0.7.0.oe
@@ -4,12 +4,17 @@ PRIORITY = "optional"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
DEPENDS = "virtual/kernel"
-PR = "r4"
+PR = "r5"
-SRC_URI = "${SOURCEFORGE_MIRROR}/lirc/lirc-${PV}.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/lirc/lirc-${PV}.tar.gz \
+ file://split-hauppauge.patch;patch=1 \
+ file://lircd.init file://lircmd.init"
S = "${WORKDIR}/lirc-${PV}"
-inherit autotools module-base
+inherit autotools module-base update-rc.d
+
+INITSCRIPT_NAME = "lirc"
+INITSCRIPT_PARAMS = "defaults 20"
EXTRA_OECONF_epia = "--with-kerneldir=${STAGING_KERNEL_DIR} --with-driver=serial"
EXTRA_OECONF_collie = "--with-kerneldir=${STAGING_KERNEL_DIR} --with-driver=sa1100 --without-x"
@@ -25,3 +30,11 @@ do_stage() {
install -m 0644 tools/lirc_client.h ${STAGING_INCDIR}/lirc/
}
+do_install_append() {
+ install -d ${D}/etc/init.d
+ install ${WORKDIR}/lircd.init ${D}/etc/init.d/lircd
+
+ install -d ${D}${datadir}/lirc/
+ cp -a ${S}/remotes ${D}${datadir}/lirc/
+}
+