blob: 7cb74114da62e7c9e19cdd74efdacb7dc85396d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
SECTION = "x11/network"
PR = "r5"
PACKAGES = "${PN}-dbg prismstumbler prismstumbler-frontend prismstumbler-doc"
DESCRIPTION = "Prismstumbler wireless LAN scanner"
LICENSE = "GPL"
DEPENDS = "libpcap gtk+ wireless-tools sqlite zlib libxpm"
RDEPENDS_${PN} = "wireless-tools"
SRC_URI = "${SOURCEFORGE_MIRROR}/prismstumbler/${PN}-${PV}.tar.bz2 \
file://bogoconf.patch \
file://crosscompile.patch \
file://libz.patch;striplevel=0 \
file://wireless.patch"
inherit autotools pkgconfig
EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \
--x-libraries=${STAGING_LIBDIR} \
--with-libpcap=${STAGING_EXECPREFIXDIR} \
--with-sqlite-includes=${STAGING_INCDIR} \
--with-sqlite-libs=${STAGING_LIBDIR} \
--without-athena \
--without-motif"
CFLAGS =+ "-I${S}/include -D_GNU_SOURCE"
FILES_${PN} = "${bindir}/prismstumbler"
FILES_prismstumbler-frontend = "${bindir}/psfront ${bindir}/pst \
${datadir}/applications \
${datadir}/pixmaps ${docdir}/prismstumbler/help.txt \
${sysconfdir}"
RDEPENDS_prismstumbler-frontend = "${PN}"
do_configure() {
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} \
--target=${TARGET_SYS} \
--prefix=${prefix} \
--exec_prefix=${exec_prefix} \
--bindir=${bindir} \
--sbindir=${sbindir} \
--libexecdir=${libexecdir} \
--datadir=${datadir} \
--sysconfdir=${sysconfdir} \
--sharedstatedir=${sharedstatedir} \
--localstatedir=${localstatedir} \
--libdir=${libdir} \
--includedir=${includedir} \
--oldincludedir=${oldincludedir} \
--infodir=${infodir} \
--mandir=${mandir} \
${EXTRA_OECONF} \
$@;
}
do_install_append() {
chmod a+s ${D}${bindir}/prismstumbler
}
SRC_URI[md5sum] = "3232b2a12136c6ec097bb2544cd7ab16"
SRC_URI[sha256sum] = "57c30824fc0fb901545e888f2cdefd7f2e848a698d5ac724e1a7701245e63b68"
|