# Maintainer: PktSurf app=iperf version=3.7 build=1sml homepage="https://github.com/esnet/iperf" download="https://github.com/esnet/iperf/archive/refs/tags/$version.tar.gz" desc="Network utility for measuring TCP and UDP bandwidth performance" requires="openssl" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { # With profiling enabled, the build fails with ld: Cannot find gcrt1.o: No such file or directory # https://github.com/esnet/iperf/issues/749 ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --disable-static \ --disable-profiling make make install DESTDIR=$pkg cp LICENSE $pkgdocs/ mkfinalpkg } sha512sums=" f4ac1f9c7efcd6e3331afce43601f355d173653611e0c7c4027e87722a54ca914bf9ac73ad0ddc08851d54367ee15527ffd65a4849d675272a4e7619304adff2 iperf-3.7.tar.lz "