summaryrefslogtreecommitdiff
path: root/user/hwloc/APKBUILD
blob: 29f389fe22e4a0184d42f206806216e050cc8611 (plain) (blame)
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: Dan Theisen <djt@hxx.in
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=hwloc
pkgver=1.11.13
_pkgver=${pkgver%.*}
pkgrel=0
pkgdesc="Hardware Locality library for portable system topology information"
url="https://www.open-mpi.org/projects/hwloc/"
arch="all"
license="BSD-3-Clause"
depends=""
makedepends=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.open-mpi.org/release/hwloc/v${_pkgver}/${pkgname}-${pkgver}.tar.bz2"

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

check() {
	make check
}

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

sha512sums="dd38bcc9a5df2dcfd3bbd828ab13fdb1c1d21747a0b62e6c87df95d2835c0472590344ff5bda4f6c28e597eaba1ea11c0bc96907ad45f1215f51f95ac9f58138  hwloc-1.11.13.tar.bz2"