aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qperf/APKBUILD
diff options
context:
space:
mode:
authorMatthieu MONNIER <matthieu.monnier@enalean.com>2016-09-09 11:35:54 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-10-19 15:04:07 +0000
commit298e63501c42d95fe001389e995613565ee29ba3 (patch)
tree8ea4c5f61f53280d35035f09714104b90191f1fe /testing/qperf/APKBUILD
parent54648f9a74f93982b65fa7f9d3df42f861206dc9 (diff)
downloadaports-298e63501c42d95fe001389e995613565ee29ba3.tar.bz2
aports-298e63501c42d95fe001389e995613565ee29ba3.tar.xz
testing/qperf: new aport
Measuring network performance.
Diffstat (limited to 'testing/qperf/APKBUILD')
-rw-r--r--testing/qperf/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/qperf/APKBUILD b/testing/qperf/APKBUILD
new file mode 100644
index 0000000000..4dcf06f817
--- /dev/null
+++ b/testing/qperf/APKBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Matthieu Monnier <matthieu.monnier@enalean.com>
+pkgname=qperf
+pkgver=0.4.9
+pkgrel=0
+pkgdesc="Measuring network performance"
+url="https://www.openfabrics.org"
+arch="all"
+subpackages="$pkgname-doc"
+license="GPL2"
+source="https://www.openfabrics.org/downloads/qperf/$pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/"$pkgname"-"$pkgver"
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="a9eea1953ee5379e57ae5fd7b09fecf2 qperf-0.4.9.tar.gz"
+sha256sums="2300e75edffe95d4dfbe576eb5c2f0d0da3142b5e4a96fcd01b535d50a48f07c qperf-0.4.9.tar.gz"
+sha512sums="da22c76686b62262381f774fa107d0ec3b0695128628c55ed945c53a20f0854411e6d2b15d431a98177ce5be8332d2a1e54429d3d81c4c22f160d07e992aab3c qperf-0.4.9.tar.gz"