diff options
author | Daniel Sabogal <dsabogalcc@gmail.com> | 2017-09-12 15:42:50 -0400 |
---|---|---|
committer | Daniel Sabogal <dsabogalcc@gmail.com> | 2017-09-19 19:27:14 -0400 |
commit | ff26b3024520d4eb359cb299af74009188c2ea6e (patch) | |
tree | 36aa7a0474078bb85cd6f4cfe5a0d9f1b63b6fd2 | |
parent | ea5e2b770be4c0a45c12294b0eaa5d0767bd2658 (diff) | |
download | aports-ff26b3024520d4eb359cb299af74009188c2ea6e.tar.bz2 aports-ff26b3024520d4eb359cb299af74009188c2ea6e.tar.xz |
testing/hwloc: upgrade to 1.11.8
-rw-r--r-- | testing/hwloc/APKBUILD | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/testing/hwloc/APKBUILD b/testing/hwloc/APKBUILD index d4fe043819..a6ac724fa6 100644 --- a/testing/hwloc/APKBUILD +++ b/testing/hwloc/APKBUILD @@ -1,17 +1,15 @@ -# Contributor: Daniel Sabogal <dsabogalcc@gmail.com> -# Maintainer: +# Maintainer: Daniel Sabogal <dsabogalcc@gmail.com> pkgname=hwloc -pkgver=1.11.5 +pkgver=1.11.8 pkgrel=0 pkgdesc="Portable abstraction of hierarchical hardware architectures" url="https://www.open-mpi.org/" arch="all" license="BSD" -depends="" makedepends="cairo-dev eudev-dev libxml2-dev ncurses-dev" -case "$CARCH" in -x86*) makedepends="$makedepends numactl-dev";; -esac +if [ "$CARCH" != "armhf" ]; then + makedepends="$makedepends numactl-dev" +fi subpackages="$pkgname-dev $pkgname-doc $pkgname-tools:_tools" source="https://www.open-mpi.org/software/hwloc/v${pkgver%.*}/downloads/$pkgname-$pkgver.tar.bz2" builddir="$srcdir/$pkgname-$pkgver" @@ -22,23 +20,23 @@ build() { --prefix=/usr \ --sbindir=/usr/bin \ --mandir=/usr/share/man \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make +} + +check() { + make -C "$builddir" check } package() { - cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make -C "$builddir" DESTDIR="$pkgdir" install } _tools() { pkgdesc="Portable hardware locality tools" mkdir -p "$subpkgdir"/usr - mv "$pkgdir"/usr/bin "$subpkgdir"/usr || return 1 + mv "$pkgdir"/usr/bin "$subpkgdir"/usr } -md5sums="96c34136ff416d2b13a7821c27477bed hwloc-1.11.5.tar.bz2" -sha256sums="95d80286dfe658a3f79e2ac90698782bb36e5504f4bac1bba2394ba14dbbad24 hwloc-1.11.5.tar.bz2" -sha512sums="f32715d0b19400fa0cc02d4dd7b789d740f7bf16f16dbb247f6124adb41b452673139b12936d21259d6bc0dec4988260e6c3d00b3b145f410960e868ae96e1c6 hwloc-1.11.5.tar.bz2" +sha512sums="6ade049b1de2204ba876fa49344a8389c8128a4082f8e1bc1196a659e862dd4222e954aac64bdb8560dd59412b629d5a41c161a4746199b8994c4e490fae89f7 hwloc-1.11.8.tar.bz2" |