summaryrefslogtreecommitdiff
path: root/packages/freesmartphone/gsm0710muxd_svn.bb
blob: 09b3b8c4fb8cc1b547ce6c8f8923bae1fb4f9cb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
DESCRIPTION = "GSM 07.10 muxer userspace daemon"
HOMEPAGE = "http://www.freesmartphone.org"
AUTHOR = "M. Dietrich"
SECTION = "console/network"
DEPENDS = "intltool-native dbus dbus-glib"
RDEPENDS = "dbus dbus-glib"
LICENSE = "GPL"
PV = "0.9.0+svnr${SRCREV}"
PR = "r0"

SRC_URI = "svn://projects.linuxtogo.org/svn/smartphones/trunk/software;module=gsm0710muxd"
S = "${WORKDIR}/gsm0710muxd"

inherit autotools

do_install_append() {
	# temp hack
	mv -f ${D}${datadir}/dbus-1/system-services/org.freesmartphone.GSM.MUX.service ${D}${datadir}/dbus-1/system-services/org.mobile.mux.service
}

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}"