summaryrefslogtreecommitdiff
path: root/extra/iperf/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/iperf/PKGBUILD')
-rw-r--r--extra/iperf/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/iperf/PKGBUILD b/extra/iperf/PKGBUILD
new file mode 100644
index 000000000..d37cd1c6c
--- /dev/null
+++ b/extra/iperf/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 86402 2010-08-01 10:53:45Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Dale Blount <dale@archlinux.org>
+
+pkgname=iperf
+pkgver=2.0.5
+pkgrel=1
+pkgdesc="A tool to measure maximum TCP bandwidth"
+arch=('i686' 'x86_64')
+license=('custom')
+url="http://iperf.sourceforge.net"
+depends=(gcc-libs)
+source=(http://downloads.sourceforge.net/iperf/iperf-2.0.5.tar.gz
+ license)
+md5sums=('44b5536b67719f4250faed632a3cd016'
+ 'a2879f900b76668b28a1cc922909db18')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr
+ make || return 1
+ make DESTDIR="${pkgdir}" install || return 1
+ install -Dm644 ${srcdir}/license "${pkgdir}/usr/share/licenses/iperf/LICENSE" || return 1
+}