1 |
commit: 2abb60fd48997871a30c69ca5243301afe04488a |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 7 12:17:25 2022 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 7 12:17:25 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2abb60fd |
7 |
|
8 |
dev-libs/ntl: remove old ntl-11.4.4.ebuild. |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
12 |
|
13 |
dev-libs/ntl/Manifest | 1 - |
14 |
dev-libs/ntl/ntl-11.4.4.ebuild | 66 ------------------------------------------ |
15 |
2 files changed, 67 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/ntl/Manifest b/dev-libs/ntl/Manifest |
18 |
index c44f36699663..e07916ee1821 100644 |
19 |
--- a/dev-libs/ntl/Manifest |
20 |
+++ b/dev-libs/ntl/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST ntl-11.4.4.tar.gz 2378708 BLAKE2B 9a4c85bbe2fd2d3360988e0c350864fc0a05714e39ce3972228d93aba17f0dc079c90fbe40ab9d72116d1e31f55328bbd5cc71cd080e42ea33bc92361b4462aa SHA512 ed89d82008ca8785cb3d69de9577f42abe464dabf167ea2aaf801951843fc427d41171cbaac2f0cf68f35110d029cc28a65bd5aad69d30e7312f5ebcb0b58911 |
23 |
DIST ntl-11.5.1.tar.gz 2304103 BLAKE2B 92284383451c7a810f7ee8d9a82836695d19d2a2e46b71c8c60b00acb77f4b4d3bad5497a309616a3e3188567d20203f5ad31295130ab0f3ace08417188c9fda SHA512 cf1f642b8a0f9cdc6dda888e07183817dc67ff494e56a852053aeb15b3d2a0e61fbc05824779c5d1f20b8115fba6f97266acf7e0b0b527c25df5989c86d5928f |
24 |
|
25 |
diff --git a/dev-libs/ntl/ntl-11.4.4.ebuild b/dev-libs/ntl/ntl-11.4.4.ebuild |
26 |
deleted file mode 100644 |
27 |
index 38b47b4ab714..000000000000 |
28 |
--- a/dev-libs/ntl/ntl-11.4.4.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,66 +0,0 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-inherit toolchain-funcs |
37 |
- |
38 |
-DESCRIPTION="High-performance and portable C++ number theory library" |
39 |
-HOMEPAGE="https://www.shoup.net/ntl/ https://github.com/libntl/ntl" |
40 |
-SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz" |
41 |
- |
42 |
-LICENSE="LGPL-2.1+" |
43 |
-SLOT="0/43" |
44 |
-KEYWORDS="amd64 ~arm64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
45 |
-IUSE="bindist doc static-libs threads cpu_flags_x86_avx2" |
46 |
- |
47 |
-BDEPEND="dev-lang/perl" |
48 |
-DEPEND="dev-libs/gmp:0= |
49 |
- dev-libs/gf2x |
50 |
- threads? ( >=dev-libs/gf2x-1.2 )" |
51 |
-RDEPEND="${DEPEND}" |
52 |
- |
53 |
-S="${WORKDIR}/${P}/src" |
54 |
- |
55 |
-REQUIRED_USE="bindist? ( !cpu_flags_x86_avx2 )" |
56 |
- |
57 |
-DOCS=( "${WORKDIR}/${P}"/README ) |
58 |
- |
59 |
-src_configure() { |
60 |
- # Currently the build system can build a static library or both |
61 |
- # static and shared libraries, but not only shared libraries. The |
62 |
- # name NTL_GMP_LIP is *not* a typo. |
63 |
- perl DoConfig \ |
64 |
- PREFIX="${EPREFIX}"/usr \ |
65 |
- LIBDIR="${EPREFIX}"/usr/$(get_libdir) \ |
66 |
- CXXFLAGS="${CXXFLAGS}" \ |
67 |
- CPPFLAGS="${CPPFLAGS}" \ |
68 |
- LDFLAGS="${LDFLAGS}" \ |
69 |
- CXX="$(tc-getCXX)" \ |
70 |
- AR="$(tc-getAR)" \ |
71 |
- RANLIB="$(tc-getRANLIB)" \ |
72 |
- SHARED=on \ |
73 |
- NTL_GMP_LIP=on \ |
74 |
- NTL_GF2X_LIB=on \ |
75 |
- NTL_THREADS=$(usex threads on off) \ |
76 |
- NTL_ENABLE_AVX_FFT=$(usex cpu_flags_x86_avx2 on off) \ |
77 |
- NATIVE=$(usex bindist off on) \ |
78 |
- || die "DoConfig failed" |
79 |
- |
80 |
- if use doc; then |
81 |
- DOCS+=( "${WORKDIR}/${P}"/doc/*.txt ) |
82 |
- HTML_DOCS=( "${WORKDIR}/${P}"/doc/*.html "${WORKDIR}/${P}"/doc/*.gif ) |
83 |
- fi |
84 |
-} |
85 |
- |
86 |
-src_install() { |
87 |
- default |
88 |
- |
89 |
- if ! use static-libs; then |
90 |
- # bug #775884 |
91 |
- find "${ED}" -name '*.la' -delete || die |
92 |
- rm "${ED}/usr/$(get_libdir)"/libntl.a || die |
93 |
- fi |
94 |
- |
95 |
- rm -r "${ED}"/usr/share/doc/NTL || die |
96 |
-} |