PKGBUILDs/extra/iperf/PKGBUILD
2009-10-09 21:23:22 -05:00

23 lines
709 B
Bash

# $Id: PKGBUILD 18343 2008-11-04 12:43:41Z giovanni $
# Maintainer: Dale Blount <dale@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
pkgname=iperf
pkgver=2.0.4
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.4.tar.gz
license)
md5sums=('8c5bc14cc2ea55f18f22afe3c23e3dcb' 'a2879f900b76668b28a1cc922909db18')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir}/ install
install -Dm644 ${srcdir}/license ${pkgdir}/usr/share/licenses/iperf/license.txt
}