[oe-commits] : gammu: Do not execute do_stage_append creating traces of build dir.
OE GIT Trial
gittrial at amethyst.openembedded.net
Tue Sep 9 14:33:39 UTC 2008
Module: OE.dev
Branch: org.openembedded.dev
Commit: c8dadebbe4e179511f866488b8bd6489e3f152c2
URL: http://gitweb.openembedded.net//OE.dev.git/?a=commit;h=c8dadebbe4e179511f866488b8bd6489e3f152c2
Author: <utx at openembedded.org>
Date: Tue Sep 9 14:17:34 2008 +0000
gammu: Do not execute do_stage_append creating traces of build dir.
---
packages/gammu/gammu_1.20.0.bb | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/packages/gammu/gammu_1.20.0.bb b/packages/gammu/gammu_1.20.0.bb
index 617648c..6cc8644 100644
--- a/packages/gammu/gammu_1.20.0.bb
+++ b/packages/gammu/gammu_1.20.0.bb
@@ -18,6 +18,13 @@ do_stage() {
autotools_stage_all
}
+# gammu has a non-standard uninstalled .pc file, which confuses pkgconfig.bbclass.
+# Replace it by custom do_stage_append():
+do_stage_append () {
+ install -d ${PKG_CONFIG_DIR}
+ cat build-configure/cfg/gammu.pc > ${PKG_CONFIG_DIR}/gammu.pc
+}
+
PACKAGES =+ "libgammu"
FILES_${PN} = "${bindir}/gammu ${bindir}/jadmaker"
More information about the Openembedded-commits
mailing list