updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / perftest / PKGBUILD
blobad779ddd0cf473184e662c3b2457f2a5d8b688a9
1 # Maintainer: Anthony Cornehl <accornehl[at]gmail[dot]com>
2 # https://github.com/twinshadow/abs-ofed
3 pkgname=perftest
4 pkgver=1.3.0
5 _subver=0.56
6 _commit=gd6f6093
7 pkgrel=1
8 pkgdesc="InfiniBand performance tests"
9 groups=('ofed')
10 url="http://www.openfabrics.org"
11 arch=('x86_64' 'i686')
12 license=('GPL2' 'custom:"Open Fabrics Alliance BSD"')
13 depends=('bash' 'libibumad' 'librdmacm')
14 source=("http://www.openfabrics.org/downloads/${pkgname}/${pkgname}-${pkgver}-${_subver}.${_commit}.tar.gz")
15 md5sums=('9ab9f1ca36dd47eb184196c552dd2587')
16 sha512sums=('257696eeef4e32584b0f6e89405446d0496035a13765ec916406bec6e33e6f737f1ad27bd0eebfd25dc5e54718559fe130f225deea332584b0d614e85375dd4e')
18 build() {
19   cd "${srcdir}/${pkgname}-${pkgver}"
20   make
23 package() {
24   cd "${srcdir}/${pkgname}-${pkgver}"
25   mkdir -p "${pkgdir}/usr/bin"
26   cp ib_* rdma_bw rdma_lat "${pkgdir}/usr/bin"
27   install -Dm755 runme "${pkgdir}/usr/share/${pkgname}/runme"
28   install -Dm644 README "${pkgdir}/usr/share/${pkgname}/README"
29   install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"