[oe-commits] Julian_chu : apmd: Correct the .la file
GIT User account
git at amethyst.openembedded.net
Wed Oct 29 13:04:21 UTC 2008
Module: openembedded.git
Branch: org.openembedded.dev
Commit: cc8f1710d3078a49c44183f13b7118d3b73b9785
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=cc8f1710d3078a49c44183f13b7118d3b73b9785
Author: Julian_chu <julian_chu at openmoko.com>
Date: Wed Jul 30 16:07:53 2008 +0800
apmd: Correct the .la file
Apmd install the .la file but the content was wrong.
It should remove the STAGING path.
---
packages/apmd/apmd_3.2.2.bb | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/packages/apmd/apmd_3.2.2.bb b/packages/apmd/apmd_3.2.2.bb
index 503f830..471ee9c 100644
--- a/packages/apmd/apmd_3.2.2.bb
+++ b/packages/apmd/apmd_3.2.2.bb
@@ -3,7 +3,7 @@ SECTION = "base"
PRIORITY = "required"
DEPENDS = "libtool-cross"
LICENSE = "GPL"
-PR = "r11"
+PR = "r11.01"
SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.orig.tar.gz \
file://debian.patch;patch=1 \
@@ -55,6 +55,10 @@ do_install() {
install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/default/apmd
oe_libinstall -so libapm ${D}${libdir}
install -m 0644 apm.h ${D}${includedir}
+ for i in `find ${D} -name "*.la"` ; do \
+ sed -i -e s:${STAGING_LIBDIR}:${libdir}:g $i
+ sed -i -e s:${STAGING_DIR_HOST}::g $i
+ done
cat ${WORKDIR}/init | sed -e 's,/usr/sbin,${sbindir},g; s,/etc,${sysconfdir},g;' > ${D}${sysconfdir}/init.d/apmd
chmod 755 ${D}${sysconfdir}/init.d/apmd
More information about the Openembedded-commits
mailing list