blob: 274ca0c609557c38194e24d67cedf06e1239bce5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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' 'mips64el')
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
}
|