diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2014-09-09 20:12:05 +0000 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2014-09-09 20:30:25 +0000 |
commit | b33ecaae809ada0df1cb7f99cb428ee55ef61df4 (patch) | |
tree | 5f4586a864c8cf50615f1cb40cb878d0c0d6e173 /srcpkgs/libpcap/template | |
parent | 460e51cd43dbecf082f8620812a2ca9bda719e57 (diff) | |
download | void-packages-b33ecaae809ada0df1cb7f99cb428ee55ef61df4.tar void-packages-b33ecaae809ada0df1cb7f99cb428ee55ef61df4.tar.gz void-packages-b33ecaae809ada0df1cb7f99cb428ee55ef61df4.tar.bz2 void-packages-b33ecaae809ada0df1cb7f99cb428ee55ef61df4.tar.lz void-packages-b33ecaae809ada0df1cb7f99cb428ee55ef61df4.tar.xz void-packages-b33ecaae809ada0df1cb7f99cb428ee55ef61df4.tar.zst void-packages-b33ecaae809ada0df1cb7f99cb428ee55ef61df4.zip |
libpcap: update to 1.6.2.
Diffstat (limited to '')
-rw-r--r-- | srcpkgs/libpcap/template | 41 |
1 files changed, 11 insertions, 30 deletions
diff --git a/srcpkgs/libpcap/template b/srcpkgs/libpcap/template index 233c15f245d..7134f6ac865 100644 --- a/srcpkgs/libpcap/template +++ b/srcpkgs/libpcap/template @@ -1,47 +1,28 @@ # Template file for 'libpcap' pkgname=libpcap -version=1.6.1 +version=1.6.2 revision=1 build_style=gnu-configure -configure_args="--enable-ipv6 --with-libnl --with-pcap=linux" +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" -makedepends="libnl3-devel" +makedepends="libnl3-devel + $(vopt_if bluetooth libbluetooth-devel) + $(vopt_if dbus dbus-devel) + $(vopt_if usb libusb-devel)" short_desc="System-independent interface for user-level packet capture" maintainer="Juan RP <xtraeme@gmail.com>" homepage="http://www.tcpdump.org/" license="BSD" distfiles="http://www.tcpdump.org/release/$pkgname-$version.tar.gz" -checksum=116cbb3ac9e96d5dd7b39638a2f894a67fa3dcf06d794e6dae2b9a942ad13476 +checksum=5db3e2998f1eeba2c76da55da5d474248fe19c44f49e15cac8a796a2c7e19690 -post_install() { - vlicense LICENSE -} - -# Package build options build_options="bluetooth dbus usb" build_options_default="usb" - -if [ "$build_option_bluetooth" ]; then - configure_args+=" --enable-bluetooth" - makedepends+=" libbluetooth-devel" -else - configure_args+=" --disable-bluetooth" -fi - -if [ "$build_option_dbus" ]; then - configure_args+=" --enable-dbus" - makedepends+=" dbus-devel" -else - configure_args+=" --disable-dbus" -fi - -if [ "$build_option_usb" ]; then - configure_args+=" --enable-canusb" - makedepends+=" libusb-devel" -else - configure_args+=" --disable-canusb" -fi +post_install() { + vlicense LICENSE +} libpcap-devel_package() { depends="libnl3-devel libpcap>=${version}_${revision}" |