diff options
Diffstat (limited to 'main/iperf/APKBUILD')
-rw-r--r-- | main/iperf/APKBUILD | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/main/iperf/APKBUILD b/main/iperf/APKBUILD index fea017fa2a..248abcb0b3 100644 --- a/main/iperf/APKBUILD +++ b/main/iperf/APKBUILD @@ -6,26 +6,28 @@ pkgrel=1 pkgdesc="tool to measure IP bandwidth using UDP or TCP" url="http://iperf.sourceforge.net/" arch="all" -license="GPL" -depends= -makedepends= -install= +license="BSD" +depends="" +makedepends="" +install="" subpackages="$pkgname-doc" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" +_builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$srcdir"/$pkgname-$pkgver - - ./configure --prefix=/usr \ + cd "$_builddir" + ./configure \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + || return 1 make || return 1 } package() { - cd "$srcdir"/$pkgname-$pkgver - make DESTDIR="$pkgdir" install + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 } md5sums="44b5536b67719f4250faed632a3cd016 iperf-2.0.5.tar.gz" |