# Maintainer: Matthieu Monnier pkgname=qperf pkgver=0.4.11 pkgrel=1 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"