diff --git a/srcpkgs/libpcap/template b/srcpkgs/libpcap/template index 5f425d5ca9f..102255a229d 100644 --- a/srcpkgs/libpcap/template +++ b/srcpkgs/libpcap/template @@ -1,11 +1,11 @@ # Template file for 'libpcap' pkgname=libpcap -version=1.6.2 -revision=3 +version=1.7.2 +revision=1 build_style=gnu-configure configure_args="--enable-ipv6 --with-libnl --with-pcap=linux $(vopt_enable bluetooth) $(vopt_enable dbus) $(vopt_enable usb canusb)" -hostmakedepends="pkg-config flex libnl3-devel" +hostmakedepends="pkg-config flex" makedepends="libnl3-devel $(vopt_if bluetooth libbluetooth-devel) $(vopt_if dbus dbus-devel) @@ -15,11 +15,14 @@ maintainer="Juan RP " homepage="http://www.tcpdump.org/" license="BSD" distfiles="http://www.tcpdump.org/release/$pkgname-$version.tar.gz" -checksum=5db3e2998f1eeba2c76da55da5d474248fe19c44f49e15cac8a796a2c7e19690 +checksum=1a4abc1f268b68f97e69a497f53695c9acc7a13f1d522a4d940dea276e6698ae build_options="bluetooth dbus usb" build_options_default="usb" +# for libnl +CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libnl3" + post_install() { vlicense LICENSE for f in ${DESTDIR}/usr/share/man/man3/*.3pcap; do