3742263650
Closes: #10450 [via git-merge-pr]
42 lines
958 B
Bash
42 lines
958 B
Bash
# Template file for 'numactl'
|
|
pkgname=numactl
|
|
version=2.0.11
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool"
|
|
short_desc="Simple NUMA policy support"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="LGPL-2.1"
|
|
homepage="https://github.com/numactl/numactl"
|
|
distfiles="https://github.com/numactl/numactl/archive/v${version}.tar.gz"
|
|
checksum=3e099a59b2c527bcdbddd34e1952ca87462d2cef4c93da9b0bc03f02903f7089
|
|
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
|
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
|
# XXX
|
|
nopie=yes
|
|
fi
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
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
|
|
}
|
|
}
|