summaryrefslogtreecommitdiff
path: root/packages/tcpdump/tcpdump_4.0.0.bb
blob: 537cb36aed27a4c50e4298a5951d05b8c2118bd8 (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
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://no-ipv6-tcpdump4.patch;patch=1 \
           file://0001-minimal-IEEE802.15.4-allowed.patch;patch=1"

inherit autotools
# ac_cv_linux_vers=${ac_cv_linux_vers=2}

EXTRA_OECONF = "--without-crypto"

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