aboutsummaryrefslogtreecommitdiffstats
path: root/packages/gammu
diff options
context:
space:
mode:
authorStanislav Brabec <utx@penguin.cz>2008-09-09 14:17:34 +0000
committerStanislav Brabec <utx@penguin.cz>2008-09-09 14:17:34 +0000
commit90a9e2e83b12b354d26150161ee644aa523ca1bc (patch)
tree4aeb51c18e39117845315c47930cab4dd1858412 /packages/gammu
parenta699f2221e58aac030eb43bb554749f700e253fa (diff)
downloadopenembedded-90a9e2e83b12b354d26150161ee644aa523ca1bc.tar.gz
gammu: Do not execute do_stage_append creating traces of build dir.
Diffstat (limited to 'packages/gammu')
-rw-r--r--packages/gammu/gammu_1.20.0.bb7
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 617648c0a0..6cc864498a 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"