diff options
| -rw-r--r-- | meta-openmoko/packages/freesmartphone/gsmd2_git.bb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meta-openmoko/packages/freesmartphone/gsmd2_git.bb b/meta-openmoko/packages/freesmartphone/gsmd2_git.bb index 92e52b9bac..8c1cf5b7e2 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" | |||
| 6 | RDEPENDS = "gsm0710muxd" | 6 | RDEPENDS = "gsm0710muxd" |
| 7 | LICENSE = "GPL" | 7 | LICENSE = "GPL" |
| 8 | PV = "0.1.0+gitr${SRCREV}" | 8 | PV = "0.1.0+gitr${SRCREV}" |
| 9 | PR = "r2" | 9 | PR = "r3" |
| 10 | 10 | ||
| 11 | SRC_URI = "${FREESMARTPHONE_GIT}/gsmd2.git;protocol=git;branch=master \ | 11 | SRC_URI = "${FREESMARTPHONE_GIT}/gsmd2.git;protocol=git;branch=master \ |
| 12 | file://fix-dbus-location.patch;patch=1" | 12 | file://fix-dbus-location.patch;patch=1" |
| @@ -19,8 +19,12 @@ EXTRA_OECONF = "--disable-tests" | |||
| 19 | 19 | ||
| 20 | do_install_append () { | 20 | do_install_append () { |
| 21 | install -d ${D}${sysconfdir}/gsmd2 | 21 | install -d ${D}${sysconfdir}/gsmd2 |
| 22 | |||
| 22 | install -d ${D}${sysconfdir}/dbus-1/system.d/ | 23 | install -d ${D}${sysconfdir}/dbus-1/system.d/ |
| 23 | install -m 0644 ${S}/res/freesmartphone.conf ${D}${sysconfdir}/dbus-1/system.d/ | 24 | install -m 0644 ${S}/res/freesmartphone.conf ${D}${sysconfdir}/dbus-1/system.d/ |
| 25 | |||
| 26 | install -d ${D}${datadir}/dbus-1/system-services | ||
| 27 | install -m 0644 ${S}/gsmd2.service ${D}${datadir}/dbus-1/system-services/ | ||
| 24 | } | 28 | } |
| 25 | 29 | ||
| 26 | PACKAGES =+ "libgsmd2 libfreesmartphone" | 30 | PACKAGES =+ "libgsmd2 libfreesmartphone" |
| @@ -28,4 +32,4 @@ PACKAGES =+ "libgsmd2 libfreesmartphone" | |||
| 28 | FILES_libgsmd2 = "${libdir}/libgsmd2.so.* ${libdir}/gsmd2/*.so" | 32 | FILES_libgsmd2 = "${libdir}/libgsmd2.so.* ${libdir}/gsmd2/*.so" |
| 29 | FILES_libfreesmartphone = "${libdir}/libfreesmartphone.so.*" | 33 | FILES_libfreesmartphone = "${libdir}/libfreesmartphone.so.*" |
| 30 | FILES_${PN}-dev += "${libdir}/gsmd2/*.*a" | 34 | FILES_${PN}-dev += "${libdir}/gsmd2/*.*a" |
| 31 | FILES_${PN} = "${bindir}/gsmd2 ${sysconfdir}/dbus-1/" | 35 | FILES_${PN} = "${bindir}/gsmd2 ${sysconfdir}/dbus-1/ ${datadir}/dbus-1/" |
