void-packages/srcpkgs/iperf3/template
Johannes c403825fad iperf3: update to 3.9.
Adopted.
2020-08-18 22:52:36 +02:00

29 lines
873 B
Bash

# Template file for 'iperf3'
pkgname=iperf3
version=3.9
revision=1
wrksrc="iperf-${version}"
build_style=gnu-configure
make_build_args="iperf3_profile_LDFLAGS= iperf3_profile_CFLAGS="
short_desc="Active measurements of the maximum achievable bandwidth on IP networks"
maintainer="Johannes <johannes.brechtmann@gmail.com>"
license="BSD-3-Clause"
homepage="http://software.es.net/iperf/"
changelog="https://raw.githubusercontent.com/esnet/iperf/master/RELEASE_NOTES"
distfiles="https://downloads.es.net/pub/iperf/iperf-${version}.tar.gz"
checksum=24b63a26382325f759f11d421779a937b63ca1bc17c44587d2fcfedab60ac038
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
}
}