summaryrefslogtreecommitdiff
path: root/packages/gpsd
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-08-19 00:11:36 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-08-19 00:11:36 +0000
commite3e2e97be9b8bbc8a08819932c5ffb9babffd614 (patch)
tree048a568b32dc5777cfe597590f3b4ec956d245c0 /packages/gpsd
parenteb1bc6e2d48c04db954aa69f738109873dcbbcd3 (diff)
gpsd: compile python extension. upstream vendor included x86 binary in tarball (tss...). fixes #1665
Diffstat (limited to 'packages/gpsd')
-rw-r--r--packages/gpsd/gpsd.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/gpsd/gpsd.inc b/packages/gpsd/gpsd.inc
index b43c50b58c..d493b2bca7 100644
--- a/packages/gpsd/gpsd.inc
+++ b/packages/gpsd/gpsd.inc
@@ -7,7 +7,7 @@ DEPENDS = "dbus-glib ncurses python"
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 \
@@ -23,6 +23,7 @@ export LDFLAGS = "-L${STAGING_LIBDIR} -lm"
do_compile_prepend() {
export BUILD_SYS="${BUILD_SYS}"
export HOST_SYS="${HOST_SYS}"
+ find ${S} -name "*.so" -exec rm -f {} \;
}
do_install_prepend() {
@@ -48,7 +49,7 @@ do_install_append() {
PACKAGES =+ "libgps python-pygps"
FILES_${PN} += "${sysconfdir}"
-FILES_libgps = "${libdir}/*.so*"
+FILES_libgps = "${libdir}/*.so.*"
CONFFILES_${PN} = "${sysconfdir}/default/gpsd"
DESCRIPTION_python-pygps = "Python bindings to gpsd"