gpsd: export BUILD_SYS and HOST_SYS as setup.py expects them to be set, add python...
authorJustin Patrin <papercrane@gmail.com>
Mon, 2 Apr 2007 23:15:05 +0000 (23:15 +0000)
committerJustin Patrin <papercrane@gmail.com>
Mon, 2 Apr 2007 23:15:05 +0000 (23:15 +0000)
packages/gpsd/gpsd.inc

index b4601fe..f7c1de2 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "A TCP/IP Daemon simplifying the communication with GPS devices"
 SECTION = "console/network"
 PRIORITY = "optional"
 LICENSE = "GPL"
-DEPENDS = "dbus-glib ncurses"
+DEPENDS = "dbus-glib ncurses python"
 
 EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11  \
                --x-libraries=${STAGING_LIBDIR} \
@@ -24,6 +24,11 @@ do_compile_prepend() {
     export HOST_SYS="${HOST_SYS}"
 }
 
+do_install_prepend() {
+    export BUILD_SYS="${BUILD_SYS}"
+    export HOST_SYS="${HOST_SYS}"
+}
+
 do_stage() {
         oe_libinstall -so -C ${S}/.libs libgps ${STAGING_LIBDIR}
         install -m 0655 ${S}/libgps.la ${STAGING_LIBDIR}