void-packages/srcpkgs/iperf3/template
2020-06-16 12:33:33 +02:00

29 lines
866 B
Bash

# Template file for 'iperf3'
pkgname=iperf3
version=3.8.1
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="Orphaned <orphan@voidlinux.org>"
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=e5b080f3273a8a715a4100f13826ac2ca31cc7b1315925631b2ecf64957ded96
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
}
}