summaryrefslogtreecommitdiff
path: root/repo/numactl/numactl.xibuild
blob: aa4aaf13c90e46b48b074d5d07019b9ca739c1c5 (plain)
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
#!/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
}