pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/mprime Import mprime-bin-24.14 as math/mprime.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/94f4000db162
branches:  trunk
changeset: 543062:94f4000db162
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jun 02 12:40:16 2008 +0000

description:
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:

 math/mprime/DESCR    |   5 +++++
 math/mprime/Makefile |  25 +++++++++++++++++++++++++
 math/mprime/PLIST    |   8 ++++++++
 math/mprime/distinfo |   5 +++++
 4 files changed, 43 insertions(+), 0 deletions(-)

diffs (59 lines):

diff -r 287e6c3f84af -r 94f4000db162 math/mprime/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/mprime/DESCR Mon Jun 02 12:40:16 2008 +0000
@@ -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 -r 287e6c3f84af -r 94f4000db162 math/mprime/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/mprime/Makefile      Mon Jun 02 12:40:16 2008 +0000
@@ -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@localhost
+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 -r 287e6c3f84af -r 94f4000db162 math/mprime/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/mprime/PLIST Mon Jun 02 12:40:16 2008 +0000
@@ -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 -r 287e6c3f84af -r 94f4000db162 math/mprime/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/mprime/distinfo      Mon Jun 02 12:40:16 2008 +0000
@@ -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



Home | Main Index | Thread Index | Old Index