diff options
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 27 | ||||
-rw-r--r-- | numactl-2.0.11-sysmacros.patch | 11 |
3 files changed, 24 insertions, 26 deletions
@@ -1,17 +1,15 @@ pkgbase = lib32-numactl pkgdesc = Simple NUMA policy support 32-bit version. Libraries only - pkgver = 2.0.11 - pkgrel = 3 + pkgver = 2.0.14 + pkgrel = 1 url = http://oss.sgi.com/projects/libnuma/ arch = x86_64 license = LGPL2.1 license = GPL2 - depends = perl + depends = lib32-gcc-libs depends = numactl - source = https://sources.archlinux.org/other/packages/numactl/numactl-2.0.11.tar.gz - source = numactl-2.0.11-sysmacros.patch - sha1sums = 0846670269824078a4eae8a977728175437b0da4 - sha1sums = 5a9cff7cf1fe687e5be83de0a512325b923e3e21 + source = https://github.com/numactl/numactl/releases/download/v2.0.14/numactl-2.0.14.tar.gz + sha512sums = 28b95985d6b2f26c5f6f15fe235224c998c86f534adf5fdaa355a292cf2fd65515c91ba2a76c899d552d439b18ea1209a1712bd6755f8ee3a442f3935993b2e6 pkgname = lib32-numactl @@ -3,28 +3,39 @@ # Mantainer: Lorenzo Ferrillo <lorenzofer at live dot it> _basename=numactl pkgname=lib32-numactl -pkgver=2.0.11 -pkgrel=3 +pkgver=2.0.14 +pkgrel=1 pkgdesc="Simple NUMA policy support 32-bit version. Libraries only" arch=('x86_64') url="http://oss.sgi.com/projects/libnuma/" license=('LGPL2.1' 'GPL2') -depends=('perl' 'numactl') -source=('https://sources.archlinux.org/other/packages/numactl/numactl-2.0.11.tar.gz' 'numactl-2.0.11-sysmacros.patch') -sha1sums=('0846670269824078a4eae8a977728175437b0da4' '5a9cff7cf1fe687e5be83de0a512325b923e3e21') +depends=('lib32-gcc-libs' 'numactl') +source=("https://github.com/numactl/numactl/releases/download/v${pkgver}/${_basename}-${pkgver}.tar.gz") +sha512sums=('28b95985d6b2f26c5f6f15fe235224c998c86f534adf5fdaa355a292cf2fd65515c91ba2a76c899d552d439b18ea1209a1712bd6755f8ee3a442f3935993b2e6') + + + +prepare(){ + cd "${_basename}-${pkgver}" + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + autoreconf -vfi +} build() { export CC="gcc -m32" export CXX="g++ -m32" export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" - patch -Np0 -i numactl-2.0.11-sysmacros.patch - cd "$srcdir/$_basename-${pkgver/_/-}" + # patch -Np0 -i numactl-2.0.11-sysmacros.patch + cd "${_basename}-${pkgver}" ./configure --prefix=/usr --libdir=/usr/lib32 make } package() { - cd "$srcdir/$_basename-${pkgver/_/-}" + cd "${_basename}-${pkgver}" make DESTDIR="$pkgdir" install rm -rf "$pkgdir/usr/share/" "$pkgdir/usr/bin/" "$pkgdir/usr/include/" } diff --git a/numactl-2.0.11-sysmacros.patch b/numactl-2.0.11-sysmacros.patch deleted file mode 100644 index 22067aa10b8e..000000000000 --- a/numactl-2.0.11-sysmacros.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -ru numactl-2.0.11/affinity.c new/affinity.c ---- numactl-2.0.11/affinity.c 2015-12-10 22:24:17.000000000 +0100 -+++ new/affinity.c 2018-09-03 17:21:41.833719945 +0200 -@@ -39,6 +39,7 @@ - #include <dirent.h> - #include <linux/rtnetlink.h> - #include <linux/netlink.h> -+#include <sys/sysmacros.h> - #include <sys/types.h> - #include <ctype.h> - #include <assert.h> |