From: Phil Blundell Date: Fri, 29 Oct 2004 19:52:47 +0000 (+0000) Subject: fix up prismstumbler build X-Git-Tag: Release-2010-05/1~16438 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=209e2087d5ecee7f156407c0d2e08afa3e3e1677;p=openembedded.git fix up prismstumbler build BKrev: 41829f8fNnifQLyK-6KJpC1Wi8YRdw --- diff --git a/prismstumbler/prismstumbler-0.7.3/bogoconf.patch b/prismstumbler/prismstumbler-0.7.3/bogoconf.patch new file mode 100644 index 0000000000..e69de29bb2 diff --git a/prismstumbler/prismstumbler_0.7.3.oe b/prismstumbler/prismstumbler_0.7.3.oe index 9a253fd639..b21e1b4432 100644 --- a/prismstumbler/prismstumbler_0.7.3.oe +++ b/prismstumbler/prismstumbler_0.7.3.oe @@ -7,14 +7,12 @@ LICENSE = "GPL" MAINTAINER = "Florian Boor " DEPENDS = "libpcap gtk+ wireless-tools sqlite" - -SRC_URI = "${SOURCEFORGE_MIRROR}/prismstumbler/${PN}-${PV}.tar.bz2" - -S = "${WORKDIR}/${PN}-${PV}" +SRC_URI = "${SOURCEFORGE_MIRROR}/prismstumbler/${PN}-${PV}.tar.bz2 \ + file://bogoconf.patch;patch=1" inherit autotools pkgconfig -EXTRA_OECONF = "" +EXTRA_OECONF = "--with-libpcap=${STAGING_DIR}/${HOST_SYS} --with-sqlite-libs=${STAGING_LIBDIR} --with-sqlite-includes=${STAGING_INCDIR}" FILES_${PN} = "${bindir}/prismstumbler" @@ -22,18 +20,11 @@ FILES_prismstumbler-frontend = "${bindir}/psfront ${bindir}/pst \ ${datadir}/applications \ ${datadir}/pixmaps ${datadir}/doc/prismstumbler/help.txt \ ${sysconfdir}" -do_configure_prepend() { - cd ${S}; - ./autogen.sh -} - do_configure() { - cd ${S}; - oe_runconf; - cd ${S}/src/gpsd; - rm Makefile; - rm config.log; - rm config.cache; + autotools_do_configure + cd ${S}/src/gpsd + autoreconf + rm -f Makefile config.log config.cache ${S}/src/gpsd/configure \ --build=${BUILD_SYS} \ --host=${HOST_SYS} \