1 # Maintainer: Anthony Cornehl <accornehl[at]gmail[dot]com>
2 # https://github.com/twinshadow/abs-ofed
6 pkgdesc="LD_PRELOAD-able library for using SDP"
8 url="http://www.openfabrics.org"
10 license=('GPL2' 'custom:"Open Fabrics Alliance BSD"')
12 source=("http://www.openfabrics.org/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz")
13 md5sums=('d52454595e510c0d01df906f2361e557')
14 sha512sums=('36fd8be5ecb8ae842213e1871f66a252a4bd976562a8e35b0cd3b4b1b1dafba061696f1bbb7f28060d9fed23b2d83eed2fd725d975e0ede0523a43cdbe59442b')
17 cd "${srcdir}/${pkgname}-${pkgver}"
18 ./configure --prefix=/usr
23 cd "${srcdir}/${pkgname}-${pkgver}"
24 make -j1 DESTDIR="${pkgdir}" mandir='${prefix}/share/man' sysconfdir="/etc" install
25 install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
26 chmod 644 "${pkgdir}/etc/libsdp.conf"