aboutsummaryrefslogtreecommitdiffstats
path: root/main/iperf/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-12-17 15:24:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-12-17 15:24:47 +0000
commita12b0e5f52d4bc53b4adb7830279f7913b55c7c2 (patch)
tree3e32c6a24d725683b25e79e3805a21efb6eb6545 /main/iperf/APKBUILD
parentd77c40a1f3c5a411cc0364e08df1446d1418c8d4 (diff)
downloadaports-a12b0e5f52d4bc53b4adb7830279f7913b55c7c2.tar.bz2
aports-a12b0e5f52d4bc53b4adb7830279f7913b55c7c2.tar.xz
main/iperf: moved from testing
Diffstat (limited to 'main/iperf/APKBUILD')
-rw-r--r--main/iperf/APKBUILD30
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"