aboutsummaryrefslogtreecommitdiffstats
path: root/main/iperf/APKBUILD
blob: c9951eb81f5fcc4aa03ae572463a556a26f680a8 (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
26
27
28
29
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"