summaryrefslogtreecommitdiff
path: root/repo/numactl/numactl.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/numactl/numactl.xibuild')
-rw-r--r--repo/numactl/numactl.xibuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/repo/numactl/numactl.xibuild b/repo/numactl/numactl.xibuild
new file mode 100644
index 0000000..aa4aaf1
--- /dev/null
+++ b/repo/numactl/numactl.xibuild
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+NAME="numactl"
+DESC="Simple NUMA policy support"
+
+MAKEDEPS="autoconf automake libtool linux-headers"
+
+PKG_VER=2.0.14
+SOURCE="https://github.com/numactl/numactl/archive/v$PKG_VER.tar.gz"
+
+ADDITIONAL="
+musl.patch
+"
+
+prepare() {
+ apply_patches
+
+ ./autogen.sh
+}
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+ rm -r "$PKG_DEST"/usr/share/man/man2
+}