summaryrefslogtreecommitdiff
path: root/meta-openmoko/packages/freesmartphone
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2008-08-01 08:50:14 +0000
committerRoss Burton <ross@openedhand.com>2008-08-01 08:50:14 +0000
commita67fb6c46a65fe08a4731201b6e02c0215324f05 (patch)
tree4f1a4856b74772b8ad244400597b77d314e76f44 /meta-openmoko/packages/freesmartphone
parenta9342550d9b7af3ab2ffa7e6159264fe6dcd86fb (diff)
downloadopenembedded-core-a67fb6c46a65fe08a4731201b6e02c0215324f05.tar.gz
openembedded-core-a67fb6c46a65fe08a4731201b6e02c0215324f05.tar.bz2
openembedded-core-a67fb6c46a65fe08a4731201b6e02c0215324f05.tar.xz
openembedded-core-a67fb6c46a65fe08a4731201b6e02c0215324f05.zip
gsmd2: install dbus system configuration file
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4994 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta-openmoko/packages/freesmartphone')
-rw-r--r--meta-openmoko/packages/freesmartphone/gsmd2_git.bb10
1 files changed, 8 insertions, 2 deletions
diff --git a/meta-openmoko/packages/freesmartphone/gsmd2_git.bb b/meta-openmoko/packages/freesmartphone/gsmd2_git.bb
index 5983702d8..92e52b9ba 100644
--- a/meta-openmoko/packages/freesmartphone/gsmd2_git.bb
+++ b/meta-openmoko/packages/freesmartphone/gsmd2_git.bb
@@ -6,7 +6,7 @@ DEPENDS = "dbus-native dbus dbus-glib"
RDEPENDS = "gsm0710muxd"
LICENSE = "GPL"
PV = "0.1.0+gitr${SRCREV}"
-PR = "r1"
+PR = "r2"
SRC_URI = "${FREESMARTPHONE_GIT}/gsmd2.git;protocol=git;branch=master \
file://fix-dbus-location.patch;patch=1"
@@ -17,9 +17,15 @@ inherit autotools
EXTRA_OECONF = "--disable-tests"
+do_install_append () {
+ install -d ${D}${sysconfdir}/gsmd2
+ install -d ${D}${sysconfdir}/dbus-1/system.d/
+ install -m 0644 ${S}/res/freesmartphone.conf ${D}${sysconfdir}/dbus-1/system.d/
+}
+
PACKAGES =+ "libgsmd2 libfreesmartphone"
FILES_libgsmd2 = "${libdir}/libgsmd2.so.* ${libdir}/gsmd2/*.so"
FILES_libfreesmartphone = "${libdir}/libfreesmartphone.so.*"
FILES_${PN}-dev += "${libdir}/gsmd2/*.*a"
-FILES_${PN} = "${bindir}/gsmd2"
+FILES_${PN} = "${bindir}/gsmd2 ${sysconfdir}/dbus-1/"