summaryrefslogtreecommitdiff
path: root/recipes/wireshark/wireshark.inc
blob: 4ffe8fa313d0b9ca3e75b6178c3638c6f032be07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
HOMEPAGE = "http://www.wireshark.org"
SECTION = "network"
LICENSE = "GPL"
DEPENDS = "perl-native gnutls libpcap pcre expat glib-2.0 net-snmp"

SRC_URI = "${SOURCEFORGE_MIRROR}/wireshark/wireshark-${PV}.tar.bz2 \
           file://use-our-lemon.patch \
           file://acinclude-net-snmp-fix.patch \
           file://libtool-fix.patch \
	   file://no-host-includes.patch"

S=${WORKDIR}/wireshark-${PV}

inherit autotools

do_compile_prepend() {
	${BUILD_CC} ${BUILD_CFLAGS} -o rdps rdps.c
	oe_runmake -C tools/lemon CC="${BUILD_CC} ${BUILD_CFLAGS}" LDFLAGS="${BUILD_LDFLAGS}"
}