updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / libsdp / PKGBUILD
blobcf20e6e8463cf7cf930a7b34a21ca5a8d7bf4f09
1 # Maintainer: Anthony Cornehl <accornehl[at]gmail[dot]com>
2 # https://github.com/twinshadow/abs-ofed
3 pkgname=libsdp
4 pkgver=1.1.107
5 pkgrel=2
6 pkgdesc="LD_PRELOAD-able library for using SDP"
7 groups=('ofed')
8 url="http://www.openfabrics.org"
9 arch=('x86_64' 'i686')
10 license=('GPL2' 'custom:"Open Fabrics Alliance BSD"')
11 depends=('glibc')
12 source=("http://www.openfabrics.org/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz")
13 md5sums=('d52454595e510c0d01df906f2361e557')
14 sha512sums=('36fd8be5ecb8ae842213e1871f66a252a4bd976562a8e35b0cd3b4b1b1dafba061696f1bbb7f28060d9fed23b2d83eed2fd725d975e0ede0523a43cdbe59442b')
16 build() {
17   cd "${srcdir}/${pkgname}-${pkgver}"
18   ./configure --prefix=/usr
19   make
22 package() {
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"