# Template file for 'iperf' pkgname=iperf version=2.1.8 revision=1 build_style=gnu-configure configure_args="--enable-ipv6 --enable-multicast --enable-threads ac_cv_sizeof_bool=0" short_desc="Perform network throughput tests" maintainer="Gonzalo TornarĂ­a " license="NCSA" homepage="https://iperf.fr/" changelog="https://sourceforge.net/p/iperf2/code/ci/master/tree/doc/RELEASE_NOTES?format=raw" distfiles="${SOURCEFORGE_SITE}/${pkgname}2/${pkgname}-${version}.tar.gz" checksum=8e2cf2fbc9d0d4d1cf9d109b1e328459f9622993dc9a4c5a7dc8a2088fb7beaf if [ "$XBPS_TARGET_LIBC" = musl ]; then # do not define struct ethhdr in to avoid # redefinition in CFLAGS="-D__UAPI_DEF_ETHHDR=0" CXXFLAGS="-D__UAPI_DEF_ETHHDR=0" fi post_install() { vlicense COPYING LICENSE }