summaryrefslogtreecommitdiff
path: root/math/mprime-bin
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2008-06-02 12:40:48 +0000
committerwiz <wiz@pkgsrc.org>2008-06-02 12:40:48 +0000
commit235b5b54f2b71242d42a41ee0229ae1b6d814105 (patch)
tree13b6bb7d41d82a15fa6dc278944ca5e52f854bb3 /math/mprime-bin
parent49a1364162a2652aec2d4405823540cc849ba1b4 (diff)
downloadpkgsrc-235b5b54f2b71242d42a41ee0229ae1b6d814105.tar.gz
Import mprime-bin-24.14 as math/mprime-bin.
This program is used to find Mersenne Prime numbers. See http://www.utm.edu/research/primes/mersenne.shtml for a good description of Mersenne primes. Mersenne numbers can be proved composite (not prime) by either finding a factor or by running a Lucas-Lehmer primality test.
Diffstat (limited to 'math/mprime-bin')
-rw-r--r--math/mprime-bin/DESCR5
-rw-r--r--math/mprime-bin/Makefile25
-rw-r--r--math/mprime-bin/PLIST8
-rw-r--r--math/mprime-bin/distinfo5
4 files changed, 43 insertions, 0 deletions
diff --git a/math/mprime-bin/DESCR b/math/mprime-bin/DESCR
new file mode 100644
index 00000000000..01b2d1e07fa
--- /dev/null
+++ b/math/mprime-bin/DESCR
@@ -0,0 +1,5 @@
+This program is used to find Mersenne Prime numbers. See
+http://www.utm.edu/research/primes/mersenne.shtml for a good
+description of Mersenne primes. Mersenne numbers can be proved
+composite (not prime) by either finding a factor or by running
+a Lucas-Lehmer primality test.
diff --git a/math/mprime-bin/Makefile b/math/mprime-bin/Makefile
new file mode 100644
index 00000000000..61053e04555
--- /dev/null
+++ b/math/mprime-bin/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/06/02 12:40:48 wiz Exp $
+#
+
+DISTNAME= mprime2414
+PKGNAME= mprime-bin-24.14
+CATEGORIES= math
+MASTER_SITES= ftp://mersenne.org/gimps/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.mersenne.org/freesoft.htm
+COMMENT= Mersenne prime tester (binary)
+
+WRKSRC= ${WRKDIR}
+
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= base
+
+do-build:
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/mprime ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mprime
+ ${INSTALL_DATA} ${WRKSRC}/*txt ${PREFIX}/share/doc/mprime
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/mprime-bin/PLIST b/math/mprime-bin/PLIST
new file mode 100644
index 00000000000..5235abcb533
--- /dev/null
+++ b/math/mprime-bin/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/06/02 12:40:48 wiz Exp $
+bin/mprime
+share/doc/mprime/license.txt
+share/doc/mprime/readme.txt
+share/doc/mprime/stress.txt
+share/doc/mprime/undoc.txt
+share/doc/mprime/whatsnew.txt
+@dirrm share/doc/mprime
diff --git a/math/mprime-bin/distinfo b/math/mprime-bin/distinfo
new file mode 100644
index 00000000000..c0076a0f6d4
--- /dev/null
+++ b/math/mprime-bin/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/06/02 12:40:48 wiz Exp $
+
+SHA1 (mprime2414.tar.gz) = 851220b4e006ef58669c61b47689c4ab4afe7aee
+RMD160 (mprime2414.tar.gz) = c8fd7b96fdb65c45954cb847c45a686e51e2702d
+Size (mprime2414.tar.gz) = 659468 bytes