summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-navigation/gypsy/gypsy.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-navigation/gypsy/gypsy.inc')
-rw-r--r--meta-oe/recipes-navigation/gypsy/gypsy.inc13
1 files changed, 12 insertions, 1 deletions
diff --git a/meta-oe/recipes-navigation/gypsy/gypsy.inc b/meta-oe/recipes-navigation/gypsy/gypsy.inc
index 747b61d23..1f50d7956 100644
--- a/meta-oe/recipes-navigation/gypsy/gypsy.inc
+++ b/meta-oe/recipes-navigation/gypsy/gypsy.inc
@@ -8,13 +8,20 @@ LICENSE = "GPLv2.0 & LGPLv2.1"
8SECTION = "console/network" 8SECTION = "console/network"
9DEPENDS = "glib-2.0 dbus bluez4 dbus-glib libxslt-native libxslt" 9DEPENDS = "glib-2.0 dbus bluez4 dbus-glib libxslt-native libxslt"
10 10
11inherit autotools pkgconfig gtk-doc
12PACKAGES += "libgypsy" 11PACKAGES += "libgypsy"
12SRC_URI = "file://gypsy-initscript"
13
14inherit autotools pkgconfig gtk-doc update-rc.d
15
16INITSCRIPT_NAME = "gypsy-daemon"
17# make sure it starts after X
18INITSCRIPT_PARAMS = "start 10 5 3 2 . stop 20 0 1 6 ."
13 19
14EXTRA_OECONF += "--with-distro=debian" 20EXTRA_OECONF += "--with-distro=debian"
15 21
16FILES_${PN} = " \ 22FILES_${PN} = " \
17 ${sysconfdir}/gypsy.conf \ 23 ${sysconfdir}/gypsy.conf \
24 ${sysconfdir}/init.d/gypsy-daemon \
18 ${sysconfdir}/dbus-1 \ 25 ${sysconfdir}/dbus-1 \
19 ${libexecdir}/gypsy-daemon \ 26 ${libexecdir}/gypsy-daemon \
20 ${datadir}/dbus-1 \ 27 ${datadir}/dbus-1 \
@@ -23,3 +30,7 @@ FILES_${PN} = " \
23FILES_libgypsy = " \ 30FILES_libgypsy = " \
24 ${libdir}/libgypsy${SOLIBS} \ 31 ${libdir}/libgypsy${SOLIBS} \
25" 32"
33
34do_install_append() {
35 install -D ${WORKDIR}/gypsy-initscript ${D}/${sysconfdir}/init.d/gypsy-daemon
36}