From: Michael Lauer Date: Sun, 19 Aug 2007 00:11:36 +0000 (+0000) Subject: gpsd: compile python extension. upstream vendor included x86 binary in tarball (tss... X-Git-Tag: Release-2010-05/1~8913^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3e2e97be9b8bbc8a08819932c5ffb9babffd614;p=openembedded.git gpsd: compile python extension. upstream vendor included x86 binary in tarball (tss...). fixes #1665 --- 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"