summaryrefslogtreecommitdiff
path: root/lirc
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-03-22 22:37:29 +0000
committerChris Larson <clarson@kergoth.com>2004-03-22 22:37:29 +0000
commitf249735ad71fd5f13bfd295c55e1e0d596a1dbff (patch)
tree93735f3e25beab7ac8bf066c504df17b244db4eb /lirc
parent11ebfcef190cf217f67fa2b79adee0f58f9718f3 (diff)
Another pass of .oe cleanups.
BKrev: 405f6aa92YDm0pQN4padj00WWayDrQ
Diffstat (limited to 'lirc')
-rw-r--r--lirc/lirc_0.6.6.oe15
1 files changed, 7 insertions, 8 deletions
diff --git a/lirc/lirc_0.6.6.oe b/lirc/lirc_0.6.6.oe
index d497d79f25..27722b2e95 100644
--- a/lirc/lirc_0.6.6.oe
+++ b/lirc/lirc_0.6.6.oe
@@ -3,10 +3,10 @@ SECTION = "base"
PRIORITY = "optional"
MAINTAINER = "Michael Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
-RDEPENDS = "linux-${KERNEL_VERSION} "
+RDEPENDS = "linux-${KERNEL_VERSION}"
DEPENDS = "virtual/kernel"
-SRC_URI = ${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz
+SRC_URI = "${SOURCEFORGE_MIRROR}/lirc/lirc-${PV}.tar.gz"
inherit autotools
@@ -14,18 +14,17 @@ inherit autotools
#export OS=${TARGET_OS}
#export CROSS_COMPILE=${CROSS}
-KERNEL_VERSION=`cat ${STAGING_DIR}/target/kernel/kernel-version`
-KERNEL_SOURCE=`cat ${STAGING_DIR}/target/kernel/kernel-source`
-KERNEL_PATH=${STAGING_DIR}/target/kernel
+KERNEL_VERSION = "`cat ${STAGING_LIBDIR}/../kernel/kernel-version`"
+KERNEL_SOURCE = "`cat ${STAGING_LIBDIR}/../kernel/kernel-source`"
+KERNEL_PATH = "${STAGING_LIBDIR}/../kernel"
#FIXME: Caution: EXTRA_OECONF is arm-specific!
-EXTRA_OECONF = '--with-kerneldir=${KERNEL_SOURCE} \
+EXTRA_OECONF = "--with-kerneldir=${KERNEL_SOURCE} \
--with-driver=sa1100 \
- --without-x'
+ --without-x"
do_stage() {
- install -m 0755 tools/.libs/liblirc_client.0.0.0 tools/.libs/liblirc_client.so.0.0.0
oe_soinstall tools/.libs/liblirc_client.so.0.0.0 ${STAGING_LIBDIR}/
install -m 0644 tools/lirc_client.h ${STAGING_INCDIR}/
}