aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2012-05-23 21:01:54 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2012-05-25 19:36:33 +0000
commitb4615958196613efdbde674fcb45f6d10b20e95a (patch)
tree55eecb759027135baf7d08364c864cbe82cffd87 /main
parent4a13bb89812602dabfc9748745561891e566fcf2 (diff)
downloadaports-b4615958196613efdbde674fcb45f6d10b20e95a.tar.bz2
aports-b4615958196613efdbde674fcb45f6d10b20e95a.tar.xz
main/iperf: fixed license
Diffstat (limited to 'main')
-rw-r--r--main/iperf/APKBUILD22
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"