# Template file for 'numactl'
pkgname=numactl
version=2.0.7
revision=1
subpackages="libnuma libnuma-devel"
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=0a1e237a98649c5cd2db7c684afe33bb81d290b406cf00d0469bdba9a11b39ef
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
 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
}
