summaryrefslogtreecommitdiff
path: root/recipes/tcpdump/tcpdump_3.9.7.bb
blob: ba9710d86af4f91e7c21720a51b703d8549d978c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DESCRIPTION = "A sophisticated network protocol analyzer"
HOMEPAGE = "http://www.tcpdump.org/"
LICENSE = "BSD"
SECTION = "console/network"
PRIORITY = "optional"
DEPENDS = "libpcap"

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

inherit autotools

EXTRA_OECONF = "--without-crypto"

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