mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
main/iperf: fixed license
This commit is contained in:
parent
4a13bb8981
commit
b461595819
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user