summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2004-12-28 19:19:55 +0000
committerOlivier Fisette <ribosome@gentoo.org>2004-12-28 19:19:55 +0000
commitbaa5c5b26c18c5440bfb6f6b9f114dac03b1eeba (patch)
tree67c66fc7989e747fa0e422f5aebd5c7612679017 /sci-libs/primegen
parentMoving to sci-libs/primegen (diff)
downloadhistorical-baa5c5b26c18c5440bfb6f6b9f114dac03b1eeba.tar.gz
historical-baa5c5b26c18c5440bfb6f6b9f114dac03b1eeba.tar.bz2
historical-baa5c5b26c18c5440bfb6f6b9f114dac03b1eeba.zip
Moved from app-sci/primegen to sci-libs/primegen.
Diffstat (limited to 'sci-libs/primegen')
-rw-r--r--sci-libs/primegen/ChangeLog22
-rw-r--r--sci-libs/primegen/Manifest14
-rw-r--r--sci-libs/primegen/files/digest-primegen-0.971
-rw-r--r--sci-libs/primegen/metadata.xml5
-rw-r--r--sci-libs/primegen/primegen-0.97.ebuild33
5 files changed, 75 insertions, 0 deletions
diff --git a/sci-libs/primegen/ChangeLog b/sci-libs/primegen/ChangeLog
new file mode 100644
index 000000000000..dc2c8b28b89b
--- /dev/null
+++ b/sci-libs/primegen/ChangeLog
@@ -0,0 +1,22 @@
+# ChangeLog for app-sci/primegen
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/primegen/ChangeLog,v 1.1 2004/12/28 19:19:55 ribosome Exp $
+
+*primegen-0.97 (28 Dec 2004)
+
+ 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +primegen-0.97.ebuild:
+ Moved from app-sci/primegen to sci-libs/primegen.
+
+ 21 Nov 2004; Karol Wojtaszek <sekretarz@gentoo.org> primegen-0.97.ebuild:
+ Added to ~amd64, bug #71866
+
+ 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> primegen-0.97.ebuild:
+ virtual/glibc -> virtual/libc
+
+*primegen-0.97 (13 Mar 2003)
+
+ 13 Mar 2003; George Shapovalov <george@gentoo.org> ChangeLog, primegen-0.97.ebuild, files/{digest-primegen-0.97} :
+ initial release (#16300)
+ A small, fast library to generate primes in order
+ ebuild submitted by Tom Payne <gentoo@tompayne.org>
diff --git a/sci-libs/primegen/Manifest b/sci-libs/primegen/Manifest
new file mode 100644
index 000000000000..653b4bed08d5
--- /dev/null
+++ b/sci-libs/primegen/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 f96d8e953851a5ca73bfde42faad9369 primegen-0.97.ebuild 886
+MD5 383fb5bf36418239b5cc82a4cc0a2408 ChangeLog 707
+MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+MD5 ad11fcd9377b10d5a5e151a648608c5f files/digest-primegen-0.97 64
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBn9dTZ/iYVBmujdURAv7iAJ9JN6RCwd3dxMPtkpK+33a7CyqBigCgg+id
+70yEV7hIfZLzigwTvZg/YQA=
+=368p
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/primegen/files/digest-primegen-0.97 b/sci-libs/primegen/files/digest-primegen-0.97
new file mode 100644
index 000000000000..9cb2908e1477
--- /dev/null
+++ b/sci-libs/primegen/files/digest-primegen-0.97
@@ -0,0 +1 @@
+MD5 7f2a260e5d0c0a4f9dd2e10cc6c8b984 primegen-0.97.tar.gz 31491
diff --git a/sci-libs/primegen/metadata.xml b/sci-libs/primegen/metadata.xml
new file mode 100644
index 000000000000..b229aec85b8f
--- /dev/null
+++ b/sci-libs/primegen/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+</pkgmetadata>
diff --git a/sci-libs/primegen/primegen-0.97.ebuild b/sci-libs/primegen/primegen-0.97.ebuild
new file mode 100644
index 000000000000..5f9a30faace2
--- /dev/null
+++ b/sci-libs/primegen/primegen-0.97.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/primegen/primegen-0.97.ebuild,v 1.1 2004/12/28 19:19:55 ribosome Exp $
+
+inherit gcc
+
+DESCRIPTION="A 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="as-is"
+SLOT="0"
+KEYWORDS="x86 ~amd64"
+IUSE=""
+
+DEPEND="virtual/libc"
+
+src_compile() {
+ echo $(gcc-getCC) ${CFLAGS} > conf-cc
+ echo /usr > conf-home
+ echo $(gcc-getCC) ${CFLAGS} > conf-ld
+ emake || die
+}
+
+src_install() {
+ dobin primegaps primes primespeed || die "dobin failed"
+ doman primegaps.1 primes.1 primespeed.1
+ doman error.3 error_str.3 primegen.3
+ dolib.a primegen.a || die "dolib.a failed"
+ insinto /usr/include
+ doins primegen.h uint32.h uint64.h
+ dodoc BLURB CHANGES README
+}