summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2003-03-13 08:53:37 +0000
committerGeorge Shapovalov <george@gentoo.org>2003-03-13 08:53:37 +0000
commita4c7ec70d029dc741e1bd1c8bf16b8fbf4c4ed31 (patch)
treef3cb7393ddd0f9fe45c5c377cce5c318bdbf8670 /app-sci
parentnew version and some cleanups (diff)
downloadgentoo-2-a4c7ec70d029dc741e1bd1c8bf16b8fbf4c4ed31.tar.gz
gentoo-2-a4c7ec70d029dc741e1bd1c8bf16b8fbf4c4ed31.tar.bz2
gentoo-2-a4c7ec70d029dc741e1bd1c8bf16b8fbf4c4ed31.zip
new package - prime number generator
Diffstat (limited to 'app-sci')
-rw-r--r--app-sci/primegen/ChangeLog10
-rw-r--r--app-sci/primegen/files/digest-primegen-0.971
-rw-r--r--app-sci/primegen/primegen-0.97.ebuild32
3 files changed, 43 insertions, 0 deletions
diff --git a/app-sci/primegen/ChangeLog b/app-sci/primegen/ChangeLog
new file mode 100644
index 000000000000..dcb1e6c6c782
--- /dev/null
+++ b/app-sci/primegen/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-sci/primegen
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/app-sci/primegen/ChangeLog,v 1.1 2003/03/13 08:53:37 george Exp $
+
+*primegen-0.97.ebuild (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/app-sci/primegen/files/digest-primegen-0.97 b/app-sci/primegen/files/digest-primegen-0.97
new file mode 100644
index 000000000000..9cb2908e1477
--- /dev/null
+++ b/app-sci/primegen/files/digest-primegen-0.97
@@ -0,0 +1 @@
+MD5 7f2a260e5d0c0a4f9dd2e10cc6c8b984 primegen-0.97.tar.gz 31491
diff --git a/app-sci/primegen/primegen-0.97.ebuild b/app-sci/primegen/primegen-0.97.ebuild
new file mode 100644
index 000000000000..acd9798be174
--- /dev/null
+++ b/app-sci/primegen/primegen-0.97.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/primegen/primegen-0.97.ebuild,v 1.1 2003/03/13 08:53:37 george Exp $
+
+IUSE=""
+
+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=""
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND="virtual/glibc"
+
+src_compile() {
+ echo ${CC} ${CFLAGS} > conf-cc
+ echo /usr > conf-home
+ echo ${CC} ${CFLAGS} > conf-ld
+ emake || die
+}
+
+src_install() {
+ dobin primegaps primes primespeed
+ doman primegaps.1 primes.1 primespeed.1
+ doman error.3 error_str.3 primegen.3
+ dolib.a primegen.a
+ insinto /usr/include
+ doins primegen.h uint32.h uint64.h
+ dodoc BLURB CHANGES README
+}