From 51948abc945bc7a6b7f7211398783d1bc1ce0e56 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 16 Jun 2008 11:39:44 +0000 Subject: lirc: 0.7.1 -> 0.8.3 git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4676 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/lirc/lirc-modules_0.7.1.bb | 33 ---------------------------- meta/packages/lirc/lirc-modules_0.8.3.bb | 33 ++++++++++++++++++++++++++++ meta/packages/lirc/lirc_0.7.1.bb | 37 -------------------------------- meta/packages/lirc/lirc_0.8.3.bb | 37 ++++++++++++++++++++++++++++++++ 4 files changed, 70 insertions(+), 70 deletions(-) delete mode 100644 meta/packages/lirc/lirc-modules_0.7.1.bb create mode 100644 meta/packages/lirc/lirc-modules_0.8.3.bb delete mode 100644 meta/packages/lirc/lirc_0.7.1.bb create mode 100644 meta/packages/lirc/lirc_0.8.3.bb (limited to 'meta') diff --git a/meta/packages/lirc/lirc-modules_0.7.1.bb b/meta/packages/lirc/lirc-modules_0.7.1.bb deleted file mode 100644 index 1605e2d5c5..0000000000 --- a/meta/packages/lirc/lirc-modules_0.7.1.bb +++ /dev/null @@ -1,33 +0,0 @@ -DESCRIPTION = "LIRC is a package that allows you to decode and send infra-red signals of many commonly used remote controls." -SECTION = "base" -PRIORITY = "optional" -LICENSE = "GPL" -DEPENDS = "virtual/kernel fakeroot-native" -PR = "r2" - -SRC_URI = "${SOURCEFORGE_MIRROR}/lirc/lirc-${PV}.tar.gz \ - file://lirc_sir-sa1100.patch;patch=1" -S = "${WORKDIR}/lirc-${PV}" - -inherit autotools module-base - -include lirc-config.inc - -do_compile() { - # ${KERNEL_LD} doesn't understand the LDFLAGS, so suppress them - cd drivers && oe_runmake CC="${KERNEL_CC}" LD="${KERNEL_LD}" LDFLAGS="" -} - -fakeroot do_install() { - oe_runmake -C drivers DESTDIR="${D}" moduledir="/lib/modules/${KERNEL_VERSION}/lirc" install - rm -rf ${D}/dev -} - -pkg_postinst() { -#!/bin/sh -set -e -if [ ! -c $D/dev/lirc ]; then mknod $D/dev/lirc c 61 0; fi -exit 0 -} - -FILES_${PN} = "/lib/modules" diff --git a/meta/packages/lirc/lirc-modules_0.8.3.bb b/meta/packages/lirc/lirc-modules_0.8.3.bb new file mode 100644 index 0000000000..1605e2d5c5 --- /dev/null +++ b/meta/packages/lirc/lirc-modules_0.8.3.bb @@ -0,0 +1,33 @@ +DESCRIPTION = "LIRC is a package that allows you to decode and send infra-red signals of many commonly used remote controls." +SECTION = "base" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "virtual/kernel fakeroot-native" +PR = "r2" + +SRC_URI = "${SOURCEFORGE_MIRROR}/lirc/lirc-${PV}.tar.gz \ + file://lirc_sir-sa1100.patch;patch=1" +S = "${WORKDIR}/lirc-${PV}" + +inherit autotools module-base + +include lirc-config.inc + +do_compile() { + # ${KERNEL_LD} doesn't understand the LDFLAGS, so suppress them + cd drivers && oe_runmake CC="${KERNEL_CC}" LD="${KERNEL_LD}" LDFLAGS="" +} + +fakeroot do_install() { + oe_runmake -C drivers DESTDIR="${D}" moduledir="/lib/modules/${KERNEL_VERSION}/lirc" install + rm -rf ${D}/dev +} + +pkg_postinst() { +#!/bin/sh +set -e +if [ ! -c $D/dev/lirc ]; then mknod $D/dev/lirc c 61 0; fi +exit 0 +} + +FILES_${PN} = "/lib/modules" diff --git a/meta/packages/lirc/lirc_0.7.1.bb b/meta/packages/lirc/lirc_0.7.1.bb deleted file mode 100644 index 99c37e0578..0000000000 --- a/meta/packages/lirc/lirc_0.7.1.bb +++ /dev/null @@ -1,37 +0,0 @@ -DESCRIPTION = "LIRC is a package that allows you to decode and send infra-red signals of many commonly used remote controls." -SECTION = "console/network" -PRIORITY = "optional" -LICENSE = "GPL" -DEPENDS = "virtual/kernel virtual/libx11 libxau libsm libice" -PR = "r5" - -SRC_URI = "${SOURCEFORGE_MIRROR}/lirc/lirc-${PV}.tar.gz \ - file://lircd.init file://lircmd.init" -S = "${WORKDIR}/lirc-${PV}" - -inherit autotools module-base update-rc.d - -INITSCRIPT_NAME = "lircd" -INITSCRIPT_PARAMS = "defaults 20" - -include lirc-config.inc - -EXTRA_OEMAKE = 'SUBDIRS="daemons tools"' - -do_stage() { - oe_libinstall -so -C tools liblirc_client ${STAGING_LIBDIR} - install -d ${STAGING_INCDIR}/lirc/ - install -m 0644 tools/lirc_client.h ${STAGING_INCDIR}/lirc/ -} - -do_install_append() { - install -d ${D}${sysconfdir}/init.d - install ${WORKDIR}/lircd.init ${D}${sysconfdir}/init.d/lircd - - install -d ${D}${datadir}/lirc/ - cp -pPR ${S}/remotes ${D}${datadir}/lirc/ -} - -PACKAGES =+ "lirc-x" - -FILES_lirc-x = "${bindir}/irxevent ${bindir}/xmode2" 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 @@ +DESCRIPTION = "LIRC is a package that allows you to decode and send infra-red signals of many commonly used remote controls." +SECTION = "console/network" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "virtual/kernel virtual/libx11 libxau libsm libice" +PR = "r5" + +SRC_URI = "${SOURCEFORGE_MIRROR}/lirc/lirc-${PV}.tar.gz \ + file://lircd.init file://lircmd.init" +S = "${WORKDIR}/lirc-${PV}" + +inherit autotools module-base update-rc.d + +INITSCRIPT_NAME = "lircd" +INITSCRIPT_PARAMS = "defaults 20" + +include lirc-config.inc + +EXTRA_OEMAKE = 'SUBDIRS="daemons tools"' + +do_stage() { + oe_libinstall -so -C tools liblirc_client ${STAGING_LIBDIR} + install -d ${STAGING_INCDIR}/lirc/ + install -m 0644 tools/lirc_client.h ${STAGING_INCDIR}/lirc/ +} + +do_install_append() { + install -d ${D}${sysconfdir}/init.d + install ${WORKDIR}/lircd.init ${D}${sysconfdir}/init.d/lircd + + install -d ${D}${datadir}/lirc/ + cp -pPR ${S}/remotes ${D}${datadir}/lirc/ +} + +PACKAGES =+ "lirc-x" + +FILES_lirc-x = "${bindir}/irxevent ${bindir}/xmode2" -- cgit v1.2.3