From e3e2e97be9b8bbc8a08819932c5ffb9babffd614 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Sun, 19 Aug 2007 00:11:36 +0000 Subject: gpsd: compile python extension. upstream vendor included x86 binary in tarball (tss...). fixes #1665 --- packages/gpsd/gpsd.inc | 5 +++-- 1 file 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" -- cgit v1.2.3