main/iperf: fixed license

This commit is contained in:
Fabian Affolter 2012-05-23 21:01:54 +00:00
parent 4a13bb8981
commit b461595819

View File

@ -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"