# Template file for 'tcpdump'
pkgname=tcpdump
version=4.6.1
revision=1
build_style=gnu-configure
configure_args="--enable-ipv6"
makedepends="libpcap-devel libressl-devel"
short_desc="A tool for network monitoring and data acquisition"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://www.tcpdump.org"
distfiles="http://www.tcpdump.org/release/${pkgname}-${version}.tar.gz"
checksum=4c88c2a9aeb4047074f344fc9b2b6577b219972d359e192f6d12ccf983a13fd7

if [ "$CROSS_BUILD" ]; then
	configure_args+=" ac_cv_linux_vers=$(uname -r 2>&1 | sed -n -e '$s/.* //' -e '$s/\..*//p') td_cv_buggygetaddrinfo=no"
fi
