2012-08-16 16:01:36 +00:00
|
|
|
# Template file for 'numactl'
|
|
|
|
pkgname=numactl
|
2014-10-05 17:24:56 +00:00
|
|
|
version=2.0.10
|
2014-11-11 16:17:29 +00:00
|
|
|
revision=2
|
2014-10-05 17:24:56 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="automake libtool"
|
2012-08-16 16:01:36 +00: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"
|
2014-10-05 17:24:56 +00:00
|
|
|
checksum=59f12db9890f51060998f774924e31a949a7fb7d4f1548ef96a8e347b37f0187
|
2014-08-23 15:36:36 +00:00
|
|
|
only_for_archs="i686 x86_64"
|
2012-08-16 16:01:36 +00:00
|
|
|
|
2014-10-05 17:24:56 +00:00
|
|
|
pre_configure() {
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
2012-08-16 16:01:36 +00:00
|
|
|
}
|
2014-11-11 16:17:29 +00:00
|
|
|
post_install() {
|
|
|
|
rm -r ${DESTDIR}/usr/share/man/man2
|
|
|
|
}
|
2013-04-14 02:36:19 +00:00
|
|
|
|
|
|
|
libnuma_package() {
|
2013-10-09 08:43:10 +00:00
|
|
|
short_desc+=" - runtime library"
|
2013-04-14 02:36:19 +00:00
|
|
|
pkg_install() {
|
2013-10-09 08:43:10 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-14 02:36:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
libnuma-devel_package() {
|
2013-10-17 08:22:11 +00:00
|
|
|
depends="libnuma>=${version}_${revision}"
|
2013-10-09 08:43:10 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 02:36:19 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2014-10-05 17:24:56 +00:00
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/*.so
|
2013-04-14 02:36:19 +00:00
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|