diff options
author | Daniel Sabogal <dsabogalcc@gmail.com> | 2017-09-11 22:56:33 -0400 |
---|---|---|
committer | Daniel Sabogal <dsabogalcc@gmail.com> | 2017-09-12 14:35:41 -0400 |
commit | 49be66a34cdae73c8fadcdf7fe34d2bb8e146578 (patch) | |
tree | ced35279642d2843097276cf655e20118bad2936 /testing/numactl/APKBUILD | |
parent | 69985187e6d77198620fcbe0a54e873a77b4cb03 (diff) | |
download | aports-49be66a34cdae73c8fadcdf7fe34d2bb8e146578.tar.bz2 aports-49be66a34cdae73c8fadcdf7fe34d2bb8e146578.tar.xz |
testing/numactl: modernize abuild
Diffstat (limited to 'testing/numactl/APKBUILD')
-rw-r--r-- | testing/numactl/APKBUILD | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/testing/numactl/APKBUILD b/testing/numactl/APKBUILD index 2408de5a34..646e0a8edf 100644 --- a/testing/numactl/APKBUILD +++ b/testing/numactl/APKBUILD @@ -1,8 +1,7 @@ -# Contributor: Daniel Sabogal <dsabogalcc@gmail.com> -# Maintainer: +# Maintainer: Daniel Sabogal <dsabogalcc@gmail.com> pkgname=numactl pkgver=2.0.11 -pkgrel=0 +pkgrel=1 pkgdesc="Simple NUMA policy support" url="http://oss.sgi.com/projects/libnuma/" arch="x86 x86_64" @@ -10,6 +9,7 @@ license="GPL2 LGPL2" depends="" makedepends="linux-headers" subpackages="$pkgname-dev $pkgname-doc $pkgname-tools:_tools" +options="!check" source="ftp://oss.sgi.com/www/projects/libnuma/download/$pkgname-$pkgver.tar.gz musl.patch" builddir="$srcdir/$pkgname-$pkgver" @@ -18,14 +18,13 @@ build() { cd "$builddir" ./configure \ --prefix=/usr \ - --mandir=/usr/share/man \ - || return 1 - make || return 1 + --mandir=/usr/share/man + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install # provided by linux man-pages rm -r "$pkgdir"/usr/share/man/man2 @@ -35,12 +34,8 @@ _tools() { pkgdesc="NUMA policy control tools" mkdir -p "$subpkgdir"/usr - mv "$pkgdir"/usr/bin "$subpkgdir"/usr || return 1 + mv "$pkgdir"/usr/bin "$subpkgdir"/usr } -md5sums="d3bc88b7ddb9f06d60898f4816ae9127 numactl-2.0.11.tar.gz -1a9aceeb5ac9c933afc87ee614172c16 musl.patch" -sha256sums="450c091235f891ee874a8651b179c30f57a1391ca5c4673354740ba65e527861 numactl-2.0.11.tar.gz -1b8803d47ece79b5411b4d442e55f45e88b106ac2ac0b53001e1bcfabc060b20 musl.patch" sha512sums="1969d7ee0ff3de0d6f1fa42ec089a17cdb3f92cb35d453b8f8b2eec49724c43787ecbd213357013a8f2500a260b0df9844d515815ca3a0376314a0eed050a0d4 numactl-2.0.11.tar.gz c24affa5a8a8ea83d7f0ee384dc0629e17a5c4201357132f770f894ad4236772116d96d8389d54fb99095af40d1ccbffc3170b5fb9cc88cfca39179f50bee9c9 musl.patch" |