summaryrefslogtreecommitdiff
path: root/user/iperf3/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/iperf3/APKBUILD')
-rw-r--r--user/iperf3/APKBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/user/iperf3/APKBUILD b/user/iperf3/APKBUILD
index 906d8cd30..f167ef0c3 100644
--- a/user/iperf3/APKBUILD
+++ b/user/iperf3/APKBUILD
@@ -11,17 +11,16 @@ arch="all"
license="BSD-3-Clause"
depends=""
makedepends=""
-install=""
subpackages="$pkgname-doc $pkgname-openrc"
source="$pkgname-$pkgver.tar.gz::https://downloads.es.net/pub/$_pkgname/$_pkgname-$pkgver.tar.gz
$_pkgname.initd
$_pkgname.confd
- build-fixes.patch"
+ build-fixes.patch
+ "
builddir="$srcdir/$_pkgname-$pkgver"
build() {
- cd "$builddir"
CFLAGS="$CFLAGS -D_GNU_SOURCE"
./configure \
--build=$CBUILD \
@@ -35,12 +34,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm755 "$srcdir"/$_pkgname.initd \