diff options
Diffstat (limited to 'main/iperf/APKBUILD')
-rw-r--r-- | main/iperf/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/main/iperf/APKBUILD b/main/iperf/APKBUILD new file mode 100644 index 0000000000..c9951eb81f --- /dev/null +++ b/main/iperf/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Michael Mason <ms13sp@gmail.com> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=iperf +pkgver=2.0.4 +pkgrel=0 +pkgdesc="tool to measure IP bandwidth using UDP or TCP" +url="http://iperf.sourceforge.net/" +license="GPL" +depends= +makedepends= +install= +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" + +build() { + cd "$srcdir"/$pkgname-$pkgver + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + +md5sums="8c5bc14cc2ea55f18f22afe3c23e3dcb iperf-2.0.4.tar.gz" |