blob: 127400e3991cac492341a51ab034f31fe6897504 (
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
|
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;patch=1 \
file://ipv6-cross.patch;patch=1 \
"
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
}
|