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"
${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} \