summaryrefslogtreecommitdiff
path: root/prismstumbler
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-10-29 19:52:47 +0000
committerPhil Blundell <philb@gnu.org>2004-10-29 19:52:47 +0000
commit209e2087d5ecee7f156407c0d2e08afa3e3e1677 (patch)
treea31b0740a660e8fe29d1a46e7bb5c477094b4a9d /prismstumbler
parent7608409fe09016416d954587b1594ad681974b53 (diff)
fix up prismstumbler build
BKrev: 41829f8fNnifQLyK-6KJpC1Wi8YRdw
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} \