New package: numactl-2.0.7.

This commit is contained in:
Juan RP 2012-08-16 18:01:36 +02:00
parent 0274654224
commit 1fe8e7dfad
8 changed files with 59 additions and 0 deletions

View File

@ -987,3 +987,4 @@ libvdehist.so.0 libvde2-2.3.2_1
libsbc.so.1 sbc-1.0_1
libecryptfs.so.0 libecryptfs-100_1
libmuffin.so.0 libmuffin-1.0.6_1
libnuma.so.1 libnuma-2.0.7_1

1
srcpkgs/libnuma Symbolic link
View File

@ -0,0 +1 @@
numactl

1
srcpkgs/libnuma-devel Symbolic link
View File

@ -0,0 +1 @@
numactl

View File

@ -0,0 +1,15 @@
# Template file for 'libnuma-devel '.
#
noarch=yes
depends="libnuma>=${version}"
short_desc="${short_desc} -- development files"
long_desc="
The libnuma library provides convenient ways for you to add NUMA memory
policies into your own program.
This package contains development files for libnuma."
do_install() {
vmove usr/include usr
vmove usr/share/man/man3 usr/share/man
}

View File

@ -0,0 +1,3 @@
libc.so.6
ld-linux.so.2 i686
ld-linux-x86-64.so.2 x86_64

View File

@ -0,0 +1,10 @@
# Template file for 'libnuma'.
#
short_desc="${short_desc} -- shared library"
long_desc="
The libnuma library provides convenient ways for you to add NUMA memory
policies into your own program."
do_install() {
vmove "usr/lib/*.so*" usr/lib
}

View File

@ -0,0 +1,3 @@
libnuma.so.1
libc.so.6
librt.so.1

25
srcpkgs/numactl/template Normal file
View File

@ -0,0 +1,25 @@
# 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
}