tcpdump: cross build and dbg support.

This commit is contained in:
Juan RP 2013-03-13 21:57:32 +01:00
parent aba2bdd4ff
commit c7dbf05347

View file

@ -1,7 +1,7 @@
# Template file for 'tcpdump'
pkgname=tcpdump
version=4.3.0
revision=1
revision=2
build_style=gnu-configure
configure_args="--enable-ipv6"
makedepends="libpcap-devel openssl-devel"
@ -11,5 +11,9 @@ license="BSD"
homepage="http://www.tcpdump.org"
distfiles="http://www.tcpdump.org/release/${pkgname}-${version}.tar.gz"
checksum=efd08b610210d39977ec3175fa82dad9fbd33587930081be2a905a712dba4286
long_desc="
tcpdump is a powerful command-line packet analyzer."
if [ -n "$XBPS_CROSS_BUILD" ]; then
unset makedepends
crossmakedepends="libpcap-devel openssl-devel"
configure_args="${configure_args} ac_cv_linux_vers=$(uname -r 2>&1 | sed -n -e '$s/.* //' -e '$s/\..*//p') td_cv_buggygetaddrinfo=no"
fi