summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-navigation/gypsy/gypsy.inc
diff options
context:
space:
mode:
authorFelipe F. Tonello <eu@felipetonello.com>2013-09-19 19:09:14 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-10-05 12:36:02 +0200
commit13f540c5a98d3a64b41117db9cf554956eebafe9 (patch)
treeb098440b48e05dac795f59f45c24d48fbfb946b2 /meta-oe/recipes-navigation/gypsy/gypsy.inc
parentf480becafec5315192f6671601f973e41bf2d4ae (diff)
downloadmeta-openembedded-13f540c5a98d3a64b41117db9cf554956eebafe9.tar.gz
gypsy: Added init script
Added a modified version of the example init script, gypsy-example-initscript, from the gypsy repository to be compatible with OE based distros. Signed-off-by: Felipe F. Tonello <eu@felipetonello.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
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}