diff options
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 | } | ||