numactl: update to 2.0.9.
This commit is contained in:
parent
751cb7af23
commit
30391e32a2
|
@ -1,46 +1,43 @@
|
|||
# Template file for 'numactl'
|
||||
pkgname=numactl
|
||||
version=2.0.8
|
||||
revision=2
|
||||
version=2.0.9
|
||||
revision=1
|
||||
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=2f5bb6d1d5556235ec3b1ed40094d5bc2502e5bacc213d324088d63fa531c9ea
|
||||
checksum=9ca033e6c14c0f26c20379b0cf9299429fd5a354a79c3c7880fd41ef69f7751c
|
||||
long_desc="
|
||||
The numactl program allows you to run your application program on specific
|
||||
cpu's and memory nodes. It does this by supplying a NUMA memory policy to
|
||||
CPUs and memory nodes. It does this by supplying a NUMA memory policy to
|
||||
the operating system before running your program."
|
||||
|
||||
do_build() {
|
||||
make ${makejobs}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make prefix=${DESTDIR}/usr libdir=${DESTDIR}/usr/lib install
|
||||
# Remove static libs.
|
||||
rm -f ${DESTDIR}/usr/lib/*.a
|
||||
}
|
||||
|
||||
libnuma_package() {
|
||||
short_desc="${short_desc} -- shared library"
|
||||
short_desc+=" - runtime library"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/*.so*"
|
||||
vmove "usr/lib/*.so.*"
|
||||
}
|
||||
}
|
||||
|
||||
libnuma-devel_package() {
|
||||
depends="libnuma-${version}_${revision}"
|
||||
short_desc="${short_desc} -- development files"
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
numactl_package() {
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
vmove all
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue