1 |
commit: 81f08ed7814eb869dda2851efca433df263ed87e |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 31 10:17:20 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 31 10:17:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81f08ed7 |
7 |
|
8 |
sci-mathematics/msieve: Remove broken live ebuild |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
sci-mathematics/msieve/msieve-9999.ebuild | 50 ------------------------------- |
14 |
1 file changed, 50 deletions(-) |
15 |
|
16 |
diff --git a/sci-mathematics/msieve/msieve-9999.ebuild b/sci-mathematics/msieve/msieve-9999.ebuild |
17 |
deleted file mode 100644 |
18 |
index 72fa0aaf997..00000000000 |
19 |
--- a/sci-mathematics/msieve/msieve-9999.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,50 +0,0 @@ |
22 |
-# Copyright 1999-2019 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-inherit eutils subversion toolchain-funcs |
28 |
- |
29 |
-DESCRIPTION="A C library implementing a suite of algorithms to factor large integers" |
30 |
-HOMEPAGE="https://sourceforge.net/projects/msieve/" |
31 |
-#SRC_URI="mirror://sourceforge/${PN}/${PN}/Msieve%20v${PV}/${PN}${PV/./}src.tar.gz" |
32 |
-ESVN_REPO_URI="https://svn.code.sf.net/p/msieve/code/trunk" |
33 |
- |
34 |
-LICENSE="public-domain" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="" |
37 |
-IUSE="zlib +ecm mpi" |
38 |
- |
39 |
-DEPEND=" |
40 |
- ecm? ( sci-mathematics/gmp-ecm ) |
41 |
- mpi? ( virtual/mpi ) |
42 |
- zlib? ( sys-libs/zlib )" |
43 |
-RDEPEND="${DEPEND}" |
44 |
- |
45 |
-src_prepare() { |
46 |
- # TODO: Integrate ggnfs properly |
47 |
- sed -i -e 's/-march=k8//' Makefile || die |
48 |
- sed -i -e 's/CC =/#CC =/' Makefile || die |
49 |
- sed -i -e 's/CFLAGS =/CFLAGS +=/' Makefile || die |
50 |
-} |
51 |
- |
52 |
-src_compile() { |
53 |
- use ecm && export "ECM=1" |
54 |
- use mpi && export "MPI=1" |
55 |
- use zlib && export "ZLIB=1" |
56 |
- emake \ |
57 |
- CC=$(tc-getCC) \ |
58 |
- AR=$(tc-getAR) \ |
59 |
- OPT_FLAGS="${CFLAGS}" \ |
60 |
- all |
61 |
-} |
62 |
- |
63 |
-src_install() { |
64 |
- mkdir -p "${D}/usr/include/msieve" |
65 |
- mkdir -p "${D}/usr/lib/" |
66 |
- mkdir -p "${D}/usr/share/doc/${P}/" |
67 |
- cp include/* "${D}/usr/include/msieve" || die "Failed to install" |
68 |
- cp libmsieve.a "${D}/usr/lib/" || die "Failed to install" |
69 |
- dobin msieve |
70 |
- cp Readme* "${D}/usr/share/doc/${P}/" || die "Failed to install" |
71 |
-} |