void-packages/srcpkgs/numactl/template

34 lines
809 B
Plaintext

# Template file for 'numactl'
pkgname=numactl
version=2.0.9
revision=3
build_style=gnu-makefile
short_desc="Simple NUMA policy support"
maintainer="Juan RP <xtraeme@gmail.com>"
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=9ca033e6c14c0f26c20379b0cf9299429fd5a354a79c3c7880fd41ef69f7751c
do_install() {
make prefix=${DESTDIR}/usr libdir=${DESTDIR}/usr/lib install
}
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
}
}