summaryrefslogtreecommitdiff
path: root/prismstumbler
diff options
context:
space:
mode:
Diffstat (limited to 'prismstumbler')
-rw-r--r--prismstumbler/prismstumbler-0.7.3/bogoconf.patch0
-rw-r--r--prismstumbler/prismstumbler_0.7.3.oe23
2 files changed, 7 insertions, 16 deletions
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
--- /dev/null
+++ b/prismstumbler/prismstumbler-0.7.3/bogoconf.patch
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 <florian.boor@kernelconcepts.de>"
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} \