updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / libmthca / PKGBUILD
blob36efb711d48a11f3e8aba94655c2242259ee36ad
1 # Maintainer: Anthony Cornehl <accornehl[at]gmail[dot]com>
2 # https://github.com/twinshadow/abs-ofed
3 pkgname=libmthca
4 pkgver=1.0.6
5 pkgrel=2
6 pkgdesc="Userspace driver for Mellanox HCAs (MT23108 InfiniHost and MT25208 InfiniHost III Ex)"
7 groups=('ofed')
8 url="http://www.openfabrics.org"
9 arch=('x86_64' 'i686')
10 license=('GPL2' 'custom:"Open Fabrics Alliance BSD"')
11 depends=('libibverbs')
12 source=("http://www.openfabrics.org/downloads/mthca/${pkgname}-${pkgver}.tar.gz")
13 md5sums=('893b38bc498ca47ca094e48358aae507')
14 sha512sums=('5f495d9d18570da444a13a2706e0e6bc2ff1e3a560967daecf2d3176610593caa8d7678bcbb9f7311d2052b2164824c970b087bfbe114286cd2d4f4f5b44d48f')
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}" sysconfdir="/etc" install
25   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"