blob: ae667f9ffb24d4f4ccdc0eba141808e07b44b09c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Matthieu Monnier <matthieu.monnier@enalean.com>
pkgname=qperf
pkgver=0.4.11
pkgrel=0
pkgdesc="Measuring network performance"
url="https://www.openfabrics.org"
arch="all"
makedepends="perl perl-doc automake autoconf"
subpackages="$pkgname-doc"
license="GPL-2.0"
source="$pkgname-$pkgver.tar.gz::https://github.com/linux-rdma/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
cd "$builddir"
./autogen.sh
}
build() {
cd "$builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var
make
}
check() {
cd "$builddir"
./src/qperf --help >> /dev/null
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="303f14267d0410b0b4703f1821043a0e06be2ce36ad182d694804c9c63ea2b5b15efcb9b35102f74320e45de5127c190fea786ce2b31bff227f973c01f1f8695 qperf-0.4.11.tar.gz"
|