37 lines
920 B
Bash
37 lines
920 B
Bash
# Template file for 'numactl'
|
|
pkgname=numactl
|
|
version=2.0.10
|
|
revision=4
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool"
|
|
short_desc="Simple NUMA policy support"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="LGPL-2.1"
|
|
homepage="http://oss.sgi.com/projects/libnuma/"
|
|
distfiles="ftp://oss.sgi.com/www/projects/libnuma/download/${pkgname}-${version}.tar.gz"
|
|
checksum=dbdac8fe74f13b2e2864bba352f1597ab1d3345c8c485d7805f58d66f414db61
|
|
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
|
|
|
|
pre_configure() {
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
post_install() {
|
|
rm -r ${DESTDIR}/usr/share/man/man2
|
|
}
|
|
|
|
libnuma_package() {
|
|
short_desc+=" - runtime library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
libnuma-devel_package() {
|
|
depends="libnuma>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/*.so
|
|
vmove usr/share/man/man3
|
|
}
|
|
}
|