1 |
commit: 6a62b1d3e56db740b1d3ce538653774c4e986393 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 3 18:45:25 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 3 18:53:37 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a62b1d3 |
7 |
|
8 |
sci-libs/primegen: Drop 0.97-r1 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
sci-libs/primegen/primegen-0.97-r1.ebuild | 51 ------------------------------- |
14 |
1 file changed, 51 deletions(-) |
15 |
|
16 |
diff --git a/sci-libs/primegen/primegen-0.97-r1.ebuild b/sci-libs/primegen/primegen-0.97-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 4dc121e56cd..00000000000 |
19 |
--- a/sci-libs/primegen/primegen-0.97-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,51 +0,0 @@ |
22 |
-# Copyright 1999-2012 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=4 |
26 |
-inherit eutils flag-o-matic toolchain-funcs |
27 |
- |
28 |
-DESCRIPTION="Small, fast library to generate primes in order" |
29 |
-HOMEPAGE="http://cr.yp.to/primegen.html" |
30 |
-SRC_URI="http://cr.yp.to/primegen/${P}.tar.gz" |
31 |
- |
32 |
-LICENSE="public-domain" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" |
35 |
-IUSE="" |
36 |
- |
37 |
-DEPEND="" |
38 |
-RDEPEND="" |
39 |
- |
40 |
-src_prepare() { |
41 |
- epatch "${FILESDIR}/${P}-man.patch" |
42 |
- epatch "${FILESDIR}/${P}-missing-headers.patch" |
43 |
- find . -type f -exec \ |
44 |
- sed -i -e 's:\(primegen.a\):lib\1:' {} \; |
45 |
- mkdir usr |
46 |
-} |
47 |
- |
48 |
-src_configure() { |
49 |
- # Fixes bug #161015 |
50 |
- append-flags -fsigned-char |
51 |
- echo "$(tc-getCC) ${CFLAGS}" > conf-cc |
52 |
- echo "${S}/usr" > conf-home |
53 |
- echo "$(tc-getCC) ${LDFLAGS}" > conf-ld |
54 |
-} |
55 |
- |
56 |
-src_test() { |
57 |
- [[ $(./primes 1 100000000 | md5sum ) == "4e2b0027288a27e9c99699364877c9db "* ]] || die "test failed" |
58 |
-} |
59 |
- |
60 |
-src_install() { |
61 |
- dobin primegaps primes primespeed |
62 |
- doman primegaps.1 primes.1 primespeed.1 primegen.3 |
63 |
- dolib.a libprimegen.a |
64 |
- # include the 2 typedefs to avoid collision (bug #248327) |
65 |
- sed -i \ |
66 |
- -e "s/#include \"uint32.h\"/$(grep typedef uint32.h)/" \ |
67 |
- -e "s/#include \"uint64.h\"/$(grep typedef uint64.h)/" \ |
68 |
- primegen.h || die |
69 |
- insinto /usr/include |
70 |
- doins primegen.h |
71 |
- dodoc BLURB CHANGES README TODO |
72 |
-} |