diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c2fb7ddec5d5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: James Harvey <jamespharvey20@gmail.com> +# * No namcap warnings or errors + +pkgname=librdmacm +pkgver=1.0.21 +pkgrel=1 +pkgdesc='OpenFabrics Alliance datagram transfers over RDMA for InfiniBand and iWARP' +arch=('x86_64' 'i686') +url=('https://www.openfabrics.org/index.php/overview.html') +license=('GPL2' 'custom:"Open Fabrics Alliance BSD"') +depends=('libibverbs') +source=("https://www.openfabrics.org/downloads/rdmacm/${pkgname}-${pkgver}.tar.gz") +md5sums=('6e9bda2f115549cde20eed29221ea0c2') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./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" +} |