aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libibumad/APKBUILD
blob: 2fe9c12ddb54e72b28127ea38d43203ffc82e41e (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
35
# Contributor: Jann - Ove Risvik <jann.ove@usaklig.com>
# Maintainer:
pkgname=libibumad
pkgver=1.3.10.2
pkgrel=2
pkgdesc="Interface to ib_umad module (user_mad) library. (InfiniBand)"
options="!check" # No testsuite
url="https://www.openfabrics.org/downloads/management/"
arch="x86 x86_64 ppc64le"
license="GPL-2.0-only OR BSD-2-Clause"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.openfabrics.org/downloads/management/$pkgname-$pkgver.tar.gz"

prepare() {
	default_prepare
	update_config_sub
}

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

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

sha512sums="aa2e9038600f6fd9f5cd7c42f6125f25db1504eca040d48f501acf3dcba310f5af50d56fbfe959d1f33b3eacd382f33782077510c7f1a841ae12c5942eb7fa8c  libibumad-1.3.10.2.tar.gz"