aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qperf
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-10-19 15:04:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-10-19 15:04:57 +0000
commit09a192e858d693d39ee48eac12ce51c4299b1025 (patch)
tree844c8559ba99ba37ab0b46982bc8bcda78fc0e89 /testing/qperf
parent298e63501c42d95fe001389e995613565ee29ba3 (diff)
downloadaports-09a192e858d693d39ee48eac12ce51c4299b1025.tar.bz2
aports-09a192e858d693d39ee48eac12ce51c4299b1025.tar.xz
testing/qperf: build fix
Diffstat (limited to 'testing/qperf')
-rw-r--r--testing/qperf/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/testing/qperf/APKBUILD b/testing/qperf/APKBUILD
index 4dcf06f817..f53cf71330 100644
--- a/testing/qperf/APKBUILD
+++ b/testing/qperf/APKBUILD
@@ -5,14 +5,15 @@ pkgrel=0
pkgdesc="Measuring network performance"
url="https://www.openfabrics.org"
arch="all"
+makedepends="perl"
subpackages="$pkgname-doc"
license="GPL2"
source="https://www.openfabrics.org/downloads/qperf/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/"$pkgname"-"$pkgver"
+builddir="$srcdir"/"$pkgname"-"$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -23,7 +24,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}