linux-nokia900-meego: minimize defconfig with savedefconfig
[openembedded.git] / recipes / tcpdump / tcpdump_4.1.1.bb
blobec0cda70536891501d2bb56d29673854c8076bed
1 DESCRIPTION = "A sophisticated network protocol analyzer"
2 HOMEPAGE = "http://www.tcpdump.org/"
3 LICENSE = "BSD"
4 SECTION = "console/network"
5 PRIORITY = "optional"
6 DEPENDS = "libpcap"
7 PR = "r1"
9 SRC_URI = " \
10 http://www.tcpdump.org/release/tcpdump-${PV}.tar.gz \
11 file://tcpdump_configure_no_-O2.patch \
12 file://0001-minimal-IEEE802.15.4-allowed.patch \
13 file://ipv6-cross.patch \
14 file://configure.patch \
17 inherit autotools
18 # ac_cv_linux_vers=${ac_cv_linux_vers=2}
20 EXTRA_OECONF = "--without-crypto \
21 ${@base_contains('DISTRO_FEATURES', 'ipv6', '--enable-ipv6', '--disable-ipv6', d)}"
23 do_configure() {
24 gnu-configize
25 autoconf
26 oe_runconf
27 sed -i 's:/usr/lib:${STAGING_LIBDIR}:' ./Makefile
28 sed -i 's:/usr/include:${STAGING_INCDIR}:' ./Makefile
31 do_install_append() {
32 # tcpdump 4.0.0 installs a copy to /usr/sbin/tcpdump.4.0.0
33 rm -f ${D}${sbindir}/tcpdump.${PV}
36 SRC_URI[md5sum] = "d0dd58bbd6cd36795e05c6f1f74420b0"
37 SRC_URI[sha256sum] = "e6cd4bbd61ec7adbb61ba8352c4b4734f67b8caaa845d88cb826bc0b9f1e7f0a"