summaryrefslogtreecommitdiff
path: root/packages/freesmartphone/gsm0710muxd_svn.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/freesmartphone/gsm0710muxd_svn.bb')
-rw-r--r--packages/freesmartphone/gsm0710muxd_svn.bb23
1 files changed, 15 insertions, 8 deletions
diff --git a/packages/freesmartphone/gsm0710muxd_svn.bb b/packages/freesmartphone/gsm0710muxd_svn.bb
index f451f7814c..4a4dc3b7d4 100644
--- a/packages/freesmartphone/gsm0710muxd_svn.bb
+++ b/packages/freesmartphone/gsm0710muxd_svn.bb
@@ -1,20 +1,27 @@
-DESCRIPTION = "gsm.07.10 muxer userspace daemon"
+DESCRIPTION = "gsm 07.10 muxer userspace daemon"
+HOMEPAGE = "http://www.freesmartphone.org"
AUTHOR = "M. Dietrich"
SECTION = "console/network"
DEPENDS = "intltool-native dbus"
LICENSE = "GPL"
PV = "0.0+svnr${SRCREV}"
-PR = "r1"
+PR = "r0"
SRC_URI = "svn://projects.linuxtogo.org/svn/smartphones/trunk/software;module=gsm0710muxd"
S = "${WORKDIR}/gsm0710muxd"
-inherit autotools update-rc.d
+inherit autotools
-INITSCRIPT_NAME = "gsm0710muxd"
-INITSCRIPT_PARAMS = "defaults 35"
-
-do_install_append() {
- chmod a+rx ${D}${sysconfdir}/init.d/gsm0710muxd
+pkg_postinst_${PN}() {
+ # can't do this offline
+ if [ "x$D" != "x" ]; then
+ exit 1
+ fi
+ # reload dbus configuration files
+ for i in `pidof dbus-daemon`; do
+ kill -SIGHUP $i
+ done
}
+FILES_${PN} += "${datadir}"
+