1 |
commit: 1fb3e7e014fca1057a4809fba2c4c93ffeafdfb1 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 2 10:27:40 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 2 10:29:08 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fb3e7e0 |
7 |
|
8 |
sys-process/numactl: Removed old |
9 |
|
10 |
Package-Manager: Portage-2.3.75, Repoman-2.3.17 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-process/numactl/numactl-2.0.11-r1.ebuild | 58 ---------------------------- |
14 |
1 file changed, 58 deletions(-) |
15 |
|
16 |
diff --git a/sys-process/numactl/numactl-2.0.11-r1.ebuild b/sys-process/numactl/numactl-2.0.11-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index ff96a5ace1b..00000000000 |
19 |
--- a/sys-process/numactl/numactl-2.0.11-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,58 +0,0 @@ |
22 |
-# Copyright 1999-2017 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI="5" |
26 |
- |
27 |
-inherit autotools eutils toolchain-funcs multilib-minimal |
28 |
- |
29 |
-DESCRIPTION="Utilities and libraries for NUMA systems" |
30 |
-HOMEPAGE="http://oss.sgi.com/projects/libnuma/" |
31 |
-SRC_URI="ftp://oss.sgi.com/www/projects/libnuma/download/${P}.tar.gz" |
32 |
- |
33 |
-LICENSE="GPL-2" |
34 |
-SLOT="0" |
35 |
-# ARM lacks the __NR_migrate_pages syscall. |
36 |
-KEYWORDS="~amd64 -arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux" |
37 |
-IUSE="static-libs" |
38 |
- |
39 |
-src_prepare() { |
40 |
- epatch "${FILESDIR}"/${PN}-2.0.8-cpuid-pic.patch #456238 |
41 |
- epatch "${FILESDIR}"/${PN}-2.0.10-numademo-cflags.patch #540856 |
42 |
- epatch "${FILESDIR}"/${PN}-2.0.11-sysmacros.patch #580098 |
43 |
- eautoreconf |
44 |
- # We need to copy the sources or else tests will fail |
45 |
- multilib_copy_sources |
46 |
-} |
47 |
- |
48 |
-multilib_src_configure() { |
49 |
- ECONF_SOURCE=${S} \ |
50 |
- econf $(use_enable static-libs static) |
51 |
-} |
52 |
- |
53 |
-multilib_src_compile() { |
54 |
- multilib_is_native_abi && default || emake libnuma.la |
55 |
-} |
56 |
- |
57 |
-multilib_src_test() { |
58 |
- if multilib_is_native_abi ; then |
59 |
- if [ -d /sys/devices/system/node ]; then |
60 |
- einfo "The only generically safe test is regress2." |
61 |
- einfo "The other test cases require 2 NUMA nodes." |
62 |
- emake regress2 |
63 |
- else |
64 |
- ewarn "You do not have baseline NUMA support in your kernel, skipping tests." |
65 |
- fi |
66 |
- fi |
67 |
-} |
68 |
- |
69 |
-multilib_src_install() { |
70 |
- emake DESTDIR="${D}" install$(multilib_is_native_abi || echo "-libLTLIBRARIES install-includeHEADERS") |
71 |
- find "${ED}"/usr/ -name libnuma.la -delete |
72 |
-} |
73 |
- |
74 |
-multilib_src_install_all() { |
75 |
- DOCS=( README TODO CHANGES DESIGN ) |
76 |
- einstalldocs |
77 |
- # delete man pages provided by the man-pages package #238805 |
78 |
- rm -r "${ED}"/usr/share/man/man[25] || die |
79 |
-} |