mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-13 03:42:37 +01:00
36 lines
782 B
Plaintext
36 lines
782 B
Plaintext
# Contributor: Michael Mason <ms13sp@gmail.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=iperf
|
|
pkgver=2.0.5
|
|
pkgrel=1
|
|
pkgdesc="tool to measure IP bandwidth using UDP or TCP"
|
|
url="http://iperf.sourceforge.net/"
|
|
arch="all"
|
|
license="BSD"
|
|
depends=""
|
|
makedepends=""
|
|
install=""
|
|
subpackages="$pkgname-doc"
|
|
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir/$pkgname-$pkgver"
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="44b5536b67719f4250faed632a3cd016 iperf-2.0.5.tar.gz"
|