aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libibmad/APKBUILD
blob: 4e6f43b8625d1baa7c3f87a6213503cee556075c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Jann - Ove Risvik <jann.ove@usaklig.com>
# Maintainer:
pkgname=libibmad
pkgver=1.3.13
pkgrel=0
pkgdesc="Generic InfiniBand MAD handling library"
url="https://www.openfabrics.org/index.php/openfabrics-software.html"
arch="x86 x86_64 ppc64le"
license="GPL-2.0 BSD"
depends_dev="libibumad-dev"
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="https://www.openfabrics.org/downloads/management/$pkgname-$pkgver.tar.gz"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="429fb0cb35d2e01f0116f832114df4f3eaca7bcba6698a9a5911e32063f8a8b141c3c01e2ce92322165bb34842347d035b008e1f87f47883668a7194fab3bcd5  libibmad-1.3.13.tar.gz"