33 lines
883 B
Bash
33 lines
883 B
Bash
# Template file for 'iperf3'
|
|
pkgname=iperf3
|
|
version=3.2
|
|
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="Leah Neukirchen <leah@vuxu.org>"
|
|
license="3-clause-BSD"
|
|
homepage="http://software.es.net/iperf/"
|
|
distfiles="http://downloads.es.net/pub/iperf/iperf-${version}.tar.gz"
|
|
checksum=f207b36f861485845dbdf09f909c62f3d2222a3cf3d2682095aede8213cd9c1d
|
|
|
|
post_extract() {
|
|
sed -i '1i#include <stdint.h>' 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
|
|
}
|
|
}
|