summaryrefslogtreecommitdiff
path: root/packages/gpsd/gpsd.inc
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-02-08 15:26:40 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-02-08 15:26:40 +0000
commitbcc6ee09deadaa049ddeb590528978c38c71ad93 (patch)
tree438c83d1565f08949aca1bb9f78df3f2272338ef /packages/gpsd/gpsd.inc
parentfb9a0a7d806b76f42fa2373097b3f3a095d04252 (diff)
gspd 2.* increase package granularity. closes #3529
Diffstat (limited to 'packages/gpsd/gpsd.inc')
-rw-r--r--packages/gpsd/gpsd.inc18
1 files changed, 11 insertions, 7 deletions
diff --git a/packages/gpsd/gpsd.inc b/packages/gpsd/gpsd.inc
index 237971c9c7..d2630e5e43 100644
--- a/packages/gpsd/gpsd.inc
+++ b/packages/gpsd/gpsd.inc
@@ -3,7 +3,7 @@ SECTION = "console/network"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "dbus-glib ncurses python"
-RDEPENDS = "gpsd-conf"
+RDEPENDS_${PN} = "gpsd-conf gpsd-gpsctl"
EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \
--x-libraries=${STAGING_LIBDIR} \
@@ -12,12 +12,12 @@ EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \
SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz \
file://gpsd-default \
- file://gps-hardware \
+ file://gps-hardware \
file://gpsd"
SRC_URI_append_fic-gta01 = " \
- file://restart_gllin.sh \
- "
+ file://restart_gllin.sh \
+"
inherit autotools update-rc.d
@@ -47,7 +47,7 @@ do_install_append() {
install -d ${D}/${sysconfdir}/init.d
install -d ${D}/dev
install -m 0755 ${WORKDIR}/gpsd ${D}/${sysconfdir}/init.d/
- install -m 0755 ${WORKDIR}/gps-hardware ${D}/${sysconfdir}/init.d/gps-hardware.default
+ install -m 0755 ${WORKDIR}/gps-hardware ${D}/${sysconfdir}/init.d/gps-hardware.default
install -d ${D}/${sysconfdir}/default
install -m 0644 ${WORKDIR}/gpsd-default ${D}/${sysconfdir}/default/gpsd.default
}
@@ -69,14 +69,18 @@ pkg_postrm_${PN}-conf() {
SRC_URI_OVERRIDES_PACKAGE_ARCH = "0"
-PACKAGES =+ "libgps python-pygps gpsd-conf"
+PACKAGES =+ "libgps python-pygps gpsd-conf gpsd-gpsctl gps-utils"
PACKAGE_ARCH_gpsd-conf = "${MACHINE_ARCH}"
FILES_libgps = "${libdir}/*.so.*"
FILES_gpsd-conf = "${sysconfdir}"
+FILES_gpsd-gpsctl = "${bindir}/gpsctl"
+FILES_gps-utils = "${bindir}/*"
+# might split them up even more fine granular
+RDEPENDS_gps-utils = "python-pygps"
DESCRIPTION_python-pygps = "Python bindings to gpsd"
FILES_python-pygps = "${libdir}/*/site-packages/*"
-RDEPENDS_python-pygps = "python-core gpsd"
+RDEPENDS_python-pygps = "python-core python-ncurses gpsd"