diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2006-06-02 10:02:59 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2006-06-02 10:02:59 +0000 |
commit | 4490f0aa835635b692f87f81786ecd0bec1b9c14 (patch) | |
tree | 67f492a9f140abcfa32873e3d131bfb3e4d283ff /sys-process/numactl | |
parent | Stable on amd64, prune old version from the tree. (diff) | |
download | historical-4490f0aa835635b692f87f81786ecd0bec1b9c14.tar.gz historical-4490f0aa835635b692f87f81786ecd0bec1b9c14.tar.bz2 historical-4490f0aa835635b692f87f81786ecd0bec1b9c14.zip |
Initial commit, based on ebuild submitted in bug #114686, thanks to Philippe Troin <phil@fif.org>.
Package-Manager: portage-2.1_rc3-r3
Diffstat (limited to 'sys-process/numactl')
-rw-r--r-- | sys-process/numactl/ChangeLog | 11 | ||||
-rw-r--r-- | sys-process/numactl/Manifest | 16 | ||||
-rw-r--r-- | sys-process/numactl/files/digest-numactl-0.9.8 | 3 | ||||
-rw-r--r-- | sys-process/numactl/metadata.xml | 9 | ||||
-rw-r--r-- | sys-process/numactl/numactl-0.9.8.ebuild | 55 |
5 files changed, 94 insertions, 0 deletions
diff --git a/sys-process/numactl/ChangeLog b/sys-process/numactl/ChangeLog new file mode 100644 index 000000000000..aed741d155a2 --- /dev/null +++ b/sys-process/numactl/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sys-process/numactl +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/numactl/ChangeLog,v 1.1 2006/06/02 10:02:59 robbat2 Exp $ + +*numactl-0.9.8 (02 Jun 2006) + + 02 Jun 2006; Robin H. Johnson <robbat2@gentoo.org> +metadata.xml, + +numactl-0.9.8.ebuild: + Initial commit, based on ebuild submitted in bug #114686, thanks to Philippe + Troin <phil@fifi.org>. + diff --git a/sys-process/numactl/Manifest b/sys-process/numactl/Manifest new file mode 100644 index 000000000000..436798a6f4da --- /dev/null +++ b/sys-process/numactl/Manifest @@ -0,0 +1,16 @@ +DIST numactl-0.9.8.tar.gz 45101 RMD160 ada64b5b0d795d009afacaeaf8388359d72a737f SHA1 eb56149b7fa093fb57bb74e8620b2cf4e9953006 SHA256 707b6a18f03eb0fbb1c4f5ce1eb3daad5e6b15db972c0fc7ae8e880349a2b8ca +EBUILD numactl-0.9.8.ebuild 1756 RMD160 c475f8e47b97c8ee5ea5f9678dbae78062f77339 SHA1 b79975bbe9c1d7df12eedeeafaaf7aa3cf971653 SHA256 a1c66d91d20cd74b82cc357fb4f984534616654e20ee642eb6d747e00b8458c4 +MD5 d7c26d7a2c80c57deafd32dcaf096d95 numactl-0.9.8.ebuild 1756 +RMD160 c475f8e47b97c8ee5ea5f9678dbae78062f77339 numactl-0.9.8.ebuild 1756 +SHA256 a1c66d91d20cd74b82cc357fb4f984534616654e20ee642eb6d747e00b8458c4 numactl-0.9.8.ebuild 1756 +MISC ChangeLog 440 RMD160 f3c4e1142e4291d175ab37a6c775ff257326bf35 SHA1 665fa1846e4179d17d5d3bdbb20c649768345745 SHA256 a09a1be27855ac28b37555c54195408074082f24fe5c8c53a9a21a0ff4df7692 +MD5 86496fcf899b67b06de336e3fcd2a332 ChangeLog 440 +RMD160 f3c4e1142e4291d175ab37a6c775ff257326bf35 ChangeLog 440 +SHA256 a09a1be27855ac28b37555c54195408074082f24fe5c8c53a9a21a0ff4df7692 ChangeLog 440 +MISC metadata.xml 283 RMD160 39091a46e703055ed5d051c52b341834185332de SHA1 c5a3c481871f57127b8c78688c7421d52a56972f SHA256 517669caab4d2ec0e43e5afb9c532f42973408422a02a556d85583b0a906a2dd +MD5 0fbf345f38916109fb486821d08934ec metadata.xml 283 +RMD160 39091a46e703055ed5d051c52b341834185332de metadata.xml 283 +SHA256 517669caab4d2ec0e43e5afb9c532f42973408422a02a556d85583b0a906a2dd metadata.xml 283 +MD5 4b60ae7fe7d39b3fd3448ced34dfbce3 files/digest-numactl-0.9.8 238 +RMD160 4130e50947b10533025ca774eefc297f4d4dd22b files/digest-numactl-0.9.8 238 +SHA256 1a15551d7999f141f151197bc09c3033bd7004a24dffd4d3ed69c3677462b718 files/digest-numactl-0.9.8 238 diff --git a/sys-process/numactl/files/digest-numactl-0.9.8 b/sys-process/numactl/files/digest-numactl-0.9.8 new file mode 100644 index 000000000000..5da27cf34220 --- /dev/null +++ b/sys-process/numactl/files/digest-numactl-0.9.8 @@ -0,0 +1,3 @@ +MD5 ebc1ed785733f5af9d4139cef32e1192 numactl-0.9.8.tar.gz 45101 +RMD160 ada64b5b0d795d009afacaeaf8388359d72a737f numactl-0.9.8.tar.gz 45101 +SHA256 707b6a18f03eb0fbb1c4f5ce1eb3daad5e6b15db972c0fc7ae8e880349a2b8ca numactl-0.9.8.tar.gz 45101 diff --git a/sys-process/numactl/metadata.xml b/sys-process/numactl/metadata.xml new file mode 100644 index 000000000000..b19c21ec4c55 --- /dev/null +++ b/sys-process/numactl/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>base-system</herd> + <maintainer> + <email>robbat2@gentoo.org</email> + <name>Robin H. Johnson</name> + </maintainer> +</pkgmetadata> diff --git a/sys-process/numactl/numactl-0.9.8.ebuild b/sys-process/numactl/numactl-0.9.8.ebuild new file mode 100644 index 000000000000..39a040aeffa9 --- /dev/null +++ b/sys-process/numactl/numactl-0.9.8.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/numactl/numactl-0.9.8.ebuild,v 1.1 2006/06/02 10:02:59 robbat2 Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="Utilities and libraries for NUMA systems." +HOMEPAGE="ftp://ftp.suse.com/pub/people/ak/numa/" +SRC_URI="ftp://ftp.suse.com/pub/people/ak/numa/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc" +IUSE="" +RDEPEND="virtual/libc + dev-lang/perl" +DEPEND="${RDEPEND} + sys-apps/groff" + +src_compile() { + emake all html \ + CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ + || die "emake failed" +} + +src_install() { + # do this manually, as the Makefile doesn't do a good job + dobin numactl migratepages numastat + dolib.so libnuma.so.1 + insinto /usr/include + doins numa.h numaif.h + doman migratepages.8 numa.3 numa_maps.5 numactl.8 numastat.8 + dodoc README TODO CHANGES DESIGN + dodoc numademo.c memhog.c + dohtml html/*html + cd ${D}/usr/share/man/man3 + # this list stolen from the Makefile + local MANLINKS="all_nodes alloc alloc_interleaved alloc_interleaved_subset + alloc_local alloc_onnode available bind error exit_on_error free + get_interleave_mask get_interleave_node get_membind get_run_node_mask + interleave_memory max_node no_nodes node_size node_to_cpus police_memory + preferred run_on_node run_on_node_mask set_bind_policy set_interleave_mask + set_localalloc set_membind set_preferred set_strict setlocal_memory + tonode_memory tonodemask_memory distance" + for i in ${MANLINKS}; do + ln -sf numa.3 numa_${i}.3 + done +} + +src_test() { + cd ${S}/test + ./regress2 + einfo "The only generically safe test is regress2." + einfo "The other test cases require 2 NUMA nodes." +} |