diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-01-03 19:45:25 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-01-03 19:53:37 +0100 |
commit | 6a62b1d3e56db740b1d3ce538653774c4e986393 (patch) | |
tree | 36a65a4fb5b4aff607bab879cd2a2507410e61ac | |
parent | dev-libs/9libs: Drop 1.0-r3 (diff) | |
download | gentoo-6a62b1d3e56db740b1d3ce538653774c4e986393.tar.gz gentoo-6a62b1d3e56db740b1d3ce538653774c4e986393.tar.bz2 gentoo-6a62b1d3e56db740b1d3ce538653774c4e986393.zip |
sci-libs/primegen: Drop 0.97-r1
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r-- | sci-libs/primegen/primegen-0.97-r1.ebuild | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/sci-libs/primegen/primegen-0.97-r1.ebuild b/sci-libs/primegen/primegen-0.97-r1.ebuild deleted file mode 100644 index 4dc121e56cd5..000000000000 --- a/sci-libs/primegen/primegen-0.97-r1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 -inherit eutils flag-o-matic toolchain-funcs - -DESCRIPTION="Small, fast library to generate primes in order" -HOMEPAGE="http://cr.yp.to/primegen.html" -SRC_URI="http://cr.yp.to/primegen/${P}.tar.gz" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" -IUSE="" - -DEPEND="" -RDEPEND="" - -src_prepare() { - epatch "${FILESDIR}/${P}-man.patch" - epatch "${FILESDIR}/${P}-missing-headers.patch" - find . -type f -exec \ - sed -i -e 's:\(primegen.a\):lib\1:' {} \; - mkdir usr -} - -src_configure() { - # Fixes bug #161015 - append-flags -fsigned-char - echo "$(tc-getCC) ${CFLAGS}" > conf-cc - echo "${S}/usr" > conf-home - echo "$(tc-getCC) ${LDFLAGS}" > conf-ld -} - -src_test() { - [[ $(./primes 1 100000000 | md5sum ) == "4e2b0027288a27e9c99699364877c9db "* ]] || die "test failed" -} - -src_install() { - dobin primegaps primes primespeed - doman primegaps.1 primes.1 primespeed.1 primegen.3 - dolib.a libprimegen.a - # include the 2 typedefs to avoid collision (bug #248327) - sed -i \ - -e "s/#include \"uint32.h\"/$(grep typedef uint32.h)/" \ - -e "s/#include \"uint64.h\"/$(grep typedef uint64.h)/" \ - primegen.h || die - insinto /usr/include - doins primegen.h - dodoc BLURB CHANGES README TODO -} |