2012-08-16 18:01:36 +02:00
|
|
|
# Template file for 'numactl'
|
|
|
|
pkgname=numactl
|
2013-10-09 10:43:10 +02:00
|
|
|
version=2.0.9
|
2014-02-21 16:17:52 +01:00
|
|
|
revision=3
|
2013-10-09 10:43:10 +02:00
|
|
|
build_style=gnu-makefile
|
2012-08-16 18:01:36 +02:00
|
|
|
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"
|
2013-10-09 10:43:10 +02:00
|
|
|
checksum=9ca033e6c14c0f26c20379b0cf9299429fd5a354a79c3c7880fd41ef69f7751c
|
2012-08-16 18:01:36 +02:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make prefix=${DESTDIR}/usr libdir=${DESTDIR}/usr/lib install
|
|
|
|
}
|
2013-04-14 04:36:19 +02:00
|
|
|
|
|
|
|
libnuma_package() {
|
2013-10-09 10:43:10 +02:00
|
|
|
short_desc+=" - runtime library"
|
2013-04-14 04:36:19 +02:00
|
|
|
pkg_install() {
|
2013-10-09 10:43:10 +02:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-14 04:36:19 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libnuma-devel_package() {
|
2013-10-17 10:22:11 +02:00
|
|
|
depends="libnuma>=${version}_${revision}"
|
2013-10-09 10:43:10 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 04:36:19 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2013-10-09 10:43:10 +02:00
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 04:36:19 +02:00
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|