summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8b80a0683a76a3a77954c6ef5acb7556bac02003 (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
# Maintainer: James P. Harvey <jamespharvey20 at gmail dot com>

pkgname=qperf-nordma
_pkgname=qperf
pkgver=0.4.11
pkgrel=2
pkgdesc='OpenFabrics Alliance InfiniBand performance benchmark for bandwidth and latency (supports TCP/IP only)'
arch=('x86_64' 'i686')
url='https://www.openfabrics.org/index.php/overview.html'
license=('GPL2')
depends=('glibc')
conflicts=('qperf')
source=("https://github.com/linux-rdma/${_pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('b0ef2ffe050607566d06102b4ef6268aad08fdc52898620d429096e7b0767e75')

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
}