diff options
author | Felipe F. Tonello <eu@felipetonello.com> | 2013-09-19 19:09:14 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-10-05 12:36:02 +0200 |
commit | 13f540c5a98d3a64b41117db9cf554956eebafe9 (patch) | |
tree | b098440b48e05dac795f59f45c24d48fbfb946b2 /meta-oe/recipes-navigation/gypsy/gypsy.inc | |
parent | f480becafec5315192f6671601f973e41bf2d4ae (diff) | |
download | meta-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.inc | 13 |
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" | |||
8 | SECTION = "console/network" | 8 | SECTION = "console/network" |
9 | DEPENDS = "glib-2.0 dbus bluez4 dbus-glib libxslt-native libxslt" | 9 | DEPENDS = "glib-2.0 dbus bluez4 dbus-glib libxslt-native libxslt" |
10 | 10 | ||
11 | inherit autotools pkgconfig gtk-doc | ||
12 | PACKAGES += "libgypsy" | 11 | PACKAGES += "libgypsy" |
12 | SRC_URI = "file://gypsy-initscript" | ||
13 | |||
14 | inherit autotools pkgconfig gtk-doc update-rc.d | ||
15 | |||
16 | INITSCRIPT_NAME = "gypsy-daemon" | ||
17 | # make sure it starts after X | ||
18 | INITSCRIPT_PARAMS = "start 10 5 3 2 . stop 20 0 1 6 ." | ||
13 | 19 | ||
14 | EXTRA_OECONF += "--with-distro=debian" | 20 | EXTRA_OECONF += "--with-distro=debian" |
15 | 21 | ||
16 | FILES_${PN} = " \ | 22 | FILES_${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} = " \ | |||
23 | FILES_libgypsy = " \ | 30 | FILES_libgypsy = " \ |
24 | ${libdir}/libgypsy${SOLIBS} \ | 31 | ${libdir}/libgypsy${SOLIBS} \ |
25 | " | 32 | " |
33 | |||
34 | do_install_append() { | ||
35 | install -D ${WORKDIR}/gypsy-initscript ${D}/${sysconfdir}/init.d/gypsy-daemon | ||
36 | } | ||