diff --git a/common/shlibs b/common/shlibs index 8fdfa97f30..fac09aa98f 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2283,3 +2283,4 @@ libdoublefann.so.2 fann-2.2.0_1 libxerces-c-3.1.so libxerces-c-3.1.2_1 libunibreak.so.1 libunibreak-1.0_1 libgconfmm-2.6.so.1 gconfmm-2.28.3_1 +libiperf.so.0 iperf3-3.1.1_1 diff --git a/srcpkgs/iperf3-devel b/srcpkgs/iperf3-devel new file mode 120000 index 0000000000..15041b1282 --- /dev/null +++ b/srcpkgs/iperf3-devel @@ -0,0 +1 @@ +iperf3 \ No newline at end of file diff --git a/srcpkgs/iperf3/template b/srcpkgs/iperf3/template new file mode 100644 index 0000000000..75823b4df3 --- /dev/null +++ b/srcpkgs/iperf3/template @@ -0,0 +1,33 @@ +# Template file for 'iperf3' +pkgname=iperf3 +version=3.1.1 +revision=1 +wrksrc="iperf-${version}" +build_style=gnu-configure +CFLAGS="-D_GNU_SOURCE" +make_build_args="iperf3_profile_LDFLAGS= iperf3_profile_CFLAGS=" +short_desc="Active measurements of the maximum achievable bandwidth on IP networks" +maintainer="Christian Neukirchen " +license="BSD" +homepage="http://software.es.net/iperf/" +distfiles="http://downloads.es.net/pub/iperf/iperf-3.1.1.tar.gz" +checksum=62f7c64eafe19046ba974b3ef2d962a5597194d6fbbddde328a15a5e74110564 + +post_extract() { + sed -i '1i#include ' src/timer.h src/cjson.h +} + +post_install() { + vlicense LICENSE +} + +iperf3-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + vmove usr/share/man/man3 + } +}