diff options
author | James Harvey | 2015-07-17 21:48:15 +0000 |
---|---|---|
committer | James Harvey | 2015-07-17 21:48:15 +0000 |
commit | 9f6f163cbaceb4c90ed8ec8a16234c46a6dfb275 (patch) | |
tree | ab9e8a16352590f153780b056d6d69edd04c6e00 | |
download | aur-9f6f163cbaceb4c90ed8ec8a16234c46a6dfb275.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..61428af17926 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = qperf + pkgdesc = OpenFabrics Alliance InfiniBand performance benchmark for bandwidth and latency + pkgver = 0.4.9 + pkgrel = 1 + url = https://www.openfabrics.org/index.php/overview.html + arch = x86_64 + arch = i686 + license = GPL2 + license = custom:"Open Fabrics Alliance BSD" + depends = glibc + optdepends = librdmacm + source = https://www.openfabrics.org/downloads/qperf/qperf-0.4.9.tar.gz + md5sums = a9eea1953ee5379e57ae5fd7b09fecf2 + +pkgname = qperf + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d6c9bdf7cb50 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: James Harvey <jamespharvey20@gmail.com> +# * No namcap warnings or errors, unless building with optdepends librdmacm (and, in turn, libibverbs). +# * In that case, namcap warns that librdmacm is detected but optional, which is correct, but is exactly what the user is then trying to do, so not something needing fixing + +pkgname=qperf +pkgver=0.4.9 +pkgrel=1 +pkgdesc='OpenFabrics Alliance InfiniBand performance benchmark for bandwidth and latency' +# Works over TCP/IP and RDMA +arch=('x86_64' 'i686') +url=('https://www.openfabrics.org/index.php/overview.html') +license=('GPL2' 'custom:"Open Fabrics Alliance BSD"') +depends=('glibc') +# qperf builds without libibverbs, but then has no RDMA support, and only works over TCP/iP +# libibverbs has no InfiniBand-related dependencies, but including libibverbs then makes librdmacm a required dependency, in order to use libibverbs +# only including librdmacm as an optdepends since that depends on libibverbs, and there's no way to say in a PKGFILE if you're including libibverbs, librdmacm is a depends, otherwise it isn't. +optdepends=('librdmacm') +source=("https://www.openfabrics.org/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('a9eea1953ee5379e57ae5fd7b09fecf2') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./autogen.sh + ./configure --prefix=/usr \ + --sbindir=/usr/bin \ + --libexecdir=/usr/lib \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/share/man + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" +} |