diff options
author | wiz <wiz@pkgsrc.org> | 2008-06-02 12:40:16 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2008-06-02 12:40:16 +0000 |
commit | 49a1364162a2652aec2d4405823540cc849ba1b4 (patch) | |
tree | 4b764bde17760ae0a63e905af8b09ac53eb16a67 /math | |
parent | 25b317f3890aae638c2c5757bdb0556eeaa71d75 (diff) | |
download | pkgsrc-49a1364162a2652aec2d4405823540cc849ba1b4.tar.gz |
Import mprime-bin-24.14 as math/mprime.
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')
-rw-r--r-- | math/mprime/DESCR | 5 | ||||
-rw-r--r-- | math/mprime/Makefile | 25 | ||||
-rw-r--r-- | math/mprime/PLIST | 8 | ||||
-rw-r--r-- | math/mprime/distinfo | 5 |
4 files changed, 43 insertions, 0 deletions
diff --git a/math/mprime/DESCR b/math/mprime/DESCR new file mode 100644 index 00000000000..01b2d1e07fa --- /dev/null +++ b/math/mprime/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/Makefile b/math/mprime/Makefile new file mode 100644 index 00000000000..d9723b5faf8 --- /dev/null +++ b/math/mprime/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/06/02 12:40:16 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/PLIST b/math/mprime/PLIST new file mode 100644 index 00000000000..379083e3bf7 --- /dev/null +++ b/math/mprime/PLIST @@ -0,0 +1,8 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/06/02 12:40:16 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/distinfo b/math/mprime/distinfo new file mode 100644 index 00000000000..c43ecdb9939 --- /dev/null +++ b/math/mprime/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/06/02 12:40:16 wiz Exp $ + +SHA1 (mprime2414.tar.gz) = 851220b4e006ef58669c61b47689c4ab4afe7aee +RMD160 (mprime2414.tar.gz) = c8fd7b96fdb65c45954cb847c45a686e51e2702d +Size (mprime2414.tar.gz) = 659468 bytes |