summaryrefslogtreecommitdiff
path: root/recipes/tcpdump/tcpdump_3.9.7.bb
blob: 38581dceedcd13308d8ac6759e35804ad80252c2 (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
DESCRIPTION = "A sophisticated network protocol analyzer"
HOMEPAGE = "http://www.tcpdump.org/"
LICENSE = "BSD"
SECTION = "console/network"
PRIORITY = "optional"
DEPENDS = "libpcap"

PR = "r1"

SRC_URI = " \
	http://www.tcpdump.org/release/tcpdump-${PV}.tar.gz \
	file://tcpdump_configure_no_-O2.patch;apply=yes \
	file://ipv6-cross.patch;apply=yes \
"

inherit autotools

EXTRA_OECONF = "--without-crypto \
		${@base_contains('DISTRO_FEATURES', 'ipv6', '--enable-ipv6', '--disable-ipv6', d)}"

do_configure() {
	gnu-configize
	oe_runconf
	sed -i 's:/usr/lib:${STAGING_LIBDIR}:' ./Makefile
	sed -i 's:/usr/include:${STAGING_INCDIR}:' ./Makefile
}

SRC_URI[md5sum] = "2aacf4dc9a3bc500a8b4f3887a32cdd5"
SRC_URI[sha256sum] = "09f1daece22a3555f1ca1f9779caf36357cc8d5b9ad1964606093c7e884e0da4"