summaryrefslogtreecommitdiff
path: root/packages/gpsd
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-06-17 05:28:43 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-06-17 05:28:43 +0000
commite177f1e7675df92372b12dee764ca8b8849534f3 (patch)
tree315c3eee5a67179ae4ecbcc9c613210da4c64762 /packages/gpsd
parent08b7353bf6d734479988935adaaa0df251fe7525 (diff)
gpsd: ship python-pygps package, including python bindings to gpsd
Diffstat (limited to 'packages/gpsd')
-rw-r--r--packages/gpsd/gpsd.inc13
-rw-r--r--packages/gpsd/gpsd_2.32.bb2
-rw-r--r--packages/gpsd/gpsd_2.33.bb5
-rw-r--r--packages/gpsd/gpsd_2.34.bb2
4 files changed, 10 insertions, 12 deletions
diff --git a/packages/gpsd/gpsd.inc b/packages/gpsd/gpsd.inc
index 6e35227f41..9a9ef9119b 100644
--- a/packages/gpsd/gpsd.inc
+++ b/packages/gpsd/gpsd.inc
@@ -4,10 +4,10 @@ PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "dbus-glib ncurses python"
-EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \
- --x-libraries=${STAGING_LIBDIR} \
+EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \
+ --x-libraries=${STAGING_LIBDIR} \
--enable-dbus \
- --disable-python "
+ --enable-python"
SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz \
file://gpsd-default \
@@ -45,8 +45,13 @@ do_install_append() {
install -m 0644 ${WORKDIR}/gpsd-default ${D}/${sysconfdir}/default/gpsd
}
-PACKAGES =+ "libgps"
+PACKAGES =+ "libgps python-pygps"
FILES_${PN} += "${sysconfdir}"
FILES_libgps = "${libdir}/*.so*"
CONFFILES_${PN} = "${sysconfdir}/default/gpsd"
+
+DESCRIPTION_python-pygps = "Python bindings to gpsd"
+FILES_python-pygps = "${libdir}/*/site-packages/*"
+RDEPENDS_python-pygps = "python-core gpsd"
+
diff --git a/packages/gpsd/gpsd_2.32.bb b/packages/gpsd/gpsd_2.32.bb
deleted file mode 100644
index 12ef7f47a3..0000000000
--- a/packages/gpsd/gpsd_2.32.bb
+++ /dev/null
@@ -1,2 +0,0 @@
-require gpsd.inc
-PR = "r2"
diff --git a/packages/gpsd/gpsd_2.33.bb b/packages/gpsd/gpsd_2.33.bb
deleted file mode 100644
index a3b5b0bc25..0000000000
--- a/packages/gpsd/gpsd_2.33.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-require gpsd.inc
-
-DEPENDS = "ncurses"
-
-PR = "r2"
diff --git a/packages/gpsd/gpsd_2.34.bb b/packages/gpsd/gpsd_2.34.bb
index 726ba42481..92b4d59bf1 100644
--- a/packages/gpsd/gpsd_2.34.bb
+++ b/packages/gpsd/gpsd_2.34.bb
@@ -1,3 +1,3 @@
require gpsd.inc
-PR = "r2"
+PR = "r3"