summaryrefslogtreecommitdiff
path: root/repo/numactl/numactl.xibuild
blob: c38e8c1d3b91a9b9795a077c128fb4bb96231bff (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.15
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
}