updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / opensm / PKGBUILD
blob48a250c52a8c5ec53d2be49fd1e5676c6b2caea5
1 # Maintainer: Anthony Cornehl <accornehl[at]gmail[dot]com>
2 # https://github.com/twinshadow/abs-ofed
3 pkgname=opensm
4 pkgver=3.3.12
5 pkgrel=2
6 pkgdesc="InfiniBand subnet manager and administration"
7 groups=('ofed')
8 url="http://www.openfabrics.org"
9 arch=('x86_64' 'i686')
10 license=('GPL2' 'custom:"Open Fabrics Alliance BSD"')
11 depends=('libibumad')
12 source=("http://www.openfabrics.org/downloads/management/${pkgname}-${pkgver}.tar.gz")
13 md5sums=('66beeccf6b16550609b37d588c0589ee')
14 sha512sums=('b1a1083c053d2a30b711d7ae8b1caad27af818b3af4ecad22d9b1b80cedcca2296479e9d42fb771fe0b4a121582eac993a3b596f8696b95920726d76fefba7f7')
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}" install
25   rm -rf "${pkgdir}/usr/etc"
26   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"