1 |
commit: 38c382517c7fe04cb4ae32ddf439b9831ecdb5a1 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 14 10:01:04 2015 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 14 10:02:16 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38c38251 |
7 |
|
8 |
sys-process/numactl: Bump to version 2.0.11 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-process/numactl/Manifest | 1 + |
14 |
sys-process/numactl/numactl-2.0.11.ebuild | 54 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 55 insertions(+) |
16 |
|
17 |
diff --git a/sys-process/numactl/Manifest b/sys-process/numactl/Manifest |
18 |
index 31ce1c7..d67dfad 100644 |
19 |
--- a/sys-process/numactl/Manifest |
20 |
+++ b/sys-process/numactl/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST numactl-2.0.10.tar.gz 98999 SHA256 9d197fefac81c73dc2b2e554f1758b2ec56d4e9b2f04a7f45dff5d6cb14fb9ce SHA512 3a82b28bbc724a2340950ac33396055da852ee06e5b1d3414cd83dd6f9e26fbb648faae35ce4009c76d6a180f3067a8f3fb18e3ffaa6b6db68adfc0877e94975 WHIRLPOOL 59a172c14d96b01b1e13d2913f6f820d4f9bacb2f80e2920d4350273ff01ab57d56ab4a163fde2df3898c4b7cf204bd4a333c99f9feb9d5bcd89fea799a3d2db |
23 |
+DIST numactl-2.0.11.tar.gz 408175 SHA256 450c091235f891ee874a8651b179c30f57a1391ca5c4673354740ba65e527861 SHA512 1969d7ee0ff3de0d6f1fa42ec089a17cdb3f92cb35d453b8f8b2eec49724c43787ecbd213357013a8f2500a260b0df9844d515815ca3a0376314a0eed050a0d4 WHIRLPOOL 2d22a54de00bea80835e206704652d4fead1b585b3bedd4eeb4b61d96514117e91a9c8bda466bd7f8d17e3777c4e7a8d69dd0a6e5b6ab29c0141e086c09c311b |
24 |
DIST numactl-2.0.9.tar.gz 341455 SHA256 9ca033e6c14c0f26c20379b0cf9299429fd5a354a79c3c7880fd41ef69f7751c SHA512 483cbb1607da0f3bf0923202ea565100ea430b19502bdbd322f043f75dc945cc0f47878c0ed28badab23561c37da0b04aa12d07656bb4666c4f8d02a0d256407 WHIRLPOOL 5aba5b4a6ab0a4f06a2266054fdc7be8ca81696cf417e4fa4d10667ab95195edc5e002551a3bda4ea1eb25caf01d171ed18a16e4c29960902546aa78d7b93d73 |
25 |
|
26 |
diff --git a/sys-process/numactl/numactl-2.0.11.ebuild b/sys-process/numactl/numactl-2.0.11.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..c595624 |
29 |
--- /dev/null |
30 |
+++ b/sys-process/numactl/numactl-2.0.11.ebuild |
31 |
@@ -0,0 +1,54 @@ |
32 |
+# Copyright 1999-2015 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+ |
38 |
+inherit autotools eutils toolchain-funcs multilib-minimal |
39 |
+ |
40 |
+DESCRIPTION="Utilities and libraries for NUMA systems" |
41 |
+HOMEPAGE="http://oss.sgi.com/projects/libnuma/" |
42 |
+SRC_URI="ftp://oss.sgi.com/www/projects/libnuma/download/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+# ARM lacks the __NR_migrate_pages syscall. |
47 |
+KEYWORDS="~amd64 -arm ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux" |
48 |
+IUSE="" |
49 |
+ |
50 |
+ECONF_SOURCE=${S} |
51 |
+ |
52 |
+src_prepare() { |
53 |
+ epatch "${FILESDIR}"/${PN}-2.0.8-cpuid-pic.patch #456238 |
54 |
+ epatch "${FILESDIR}"/${PN}-2.0.10-numademo-cflags.patch #540856 |
55 |
+ eautoreconf |
56 |
+ # We need to copy the sources or else tests will fail |
57 |
+ multilib_copy_sources |
58 |
+} |
59 |
+ |
60 |
+multilib_src_test() { |
61 |
+ if multilib_is_native_abi ; then |
62 |
+ if [ -d /sys/devices/system/node ]; then |
63 |
+ einfo "The only generically safe test is regress2." |
64 |
+ einfo "The other test cases require 2 NUMA nodes." |
65 |
+ emake regress2 |
66 |
+ else |
67 |
+ ewarn "You do not have baseline NUMA support in your kernel, skipping tests." |
68 |
+ fi |
69 |
+ fi |
70 |
+} |
71 |
+ |
72 |
+multilib_src_compile() { |
73 |
+ multilib_is_native_abi && default || emake libnuma.la |
74 |
+} |
75 |
+ |
76 |
+multilib_src_install() { |
77 |
+ emake DESTDIR="${D}" install$(multilib_is_native_abi || echo "-libLTLIBRARIES install-includeHEADERS") |
78 |
+} |
79 |
+ |
80 |
+multilib_src_install_all() { |
81 |
+ DOCS=( README TODO CHANGES DESIGN ) |
82 |
+ einstalldocs |
83 |
+ # delete man pages provided by the man-pages package #238805 |
84 |
+ rm -r "${ED}"/usr/share/man/man[25] || die |
85 |
+} |