summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2008-07-26 20:09:16 +0000
committerhe <he@pkgsrc.org>2008-07-26 20:09:16 +0000
commit39a7b0fcd299ba7e79fac150921fc2f41d33ca9b (patch)
treeeba3263ef10d80455dcf34f6b19a8899e296c07c /math
parente9311e9a8f93c9d7dc4fc0ae5b12616098c58b00 (diff)
downloadpkgsrc-39a7b0fcd299ba7e79fac150921fc2f41d33ca9b.tar.gz
Import p5-Math-Random-MT-Perl version 1.05.
Pure Perl implementation of the Mersenne Twister algorithm as implemented in C/XS in Math::Random::MT. The output is identical to the C/XS version. The Mersenne Twister is a 32 bit pseudorandom number generator developed by Makoto Matsumoto and Takuji Nishimura. The algorithm is characterised by a very uniform distribution but is not cryptographically secure. What this means in real terms is that it is fine for modeling but no good for crypto.
Diffstat (limited to 'math')
-rw-r--r--math/p5-Math-Random-MT-Perl/DESCR7
-rw-r--r--math/p5-Math-Random-MT-Perl/Makefile21
-rw-r--r--math/p5-Math-Random-MT-Perl/distinfo5
3 files changed, 33 insertions, 0 deletions
diff --git a/math/p5-Math-Random-MT-Perl/DESCR b/math/p5-Math-Random-MT-Perl/DESCR
new file mode 100644
index 00000000000..dda6f81386f
--- /dev/null
+++ b/math/p5-Math-Random-MT-Perl/DESCR
@@ -0,0 +1,7 @@
+Pure Perl implementation of the Mersenne Twister algorithm as
+implemented in C/XS in Math::Random::MT. The output is identical
+to the C/XS version. The Mersenne Twister is a 32 bit pseudorandom
+number generator developed by Makoto Matsumoto and Takuji Nishimura.
+The algorithm is characterised by a very uniform distribution but
+is not cryptographically secure. What this means in real terms is
+that it is fine for modeling but no good for crypto.
diff --git a/math/p5-Math-Random-MT-Perl/Makefile b/math/p5-Math-Random-MT-Perl/Makefile
new file mode 100644
index 00000000000..e0a7aa738fb
--- /dev/null
+++ b/math/p5-Math-Random-MT-Perl/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/07/26 20:09:16 he Exp $
+#
+
+DISTNAME= Math-Random-MT-Perl-1.05
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= math perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/}
+
+MAINTAINER= he@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Math-Random-MT-Perl/
+COMMENT= Pure Perl Mersenne Twister Random Number Generator
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+=
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Math/Random/MT/Perl/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/p5-Math-Random-MT-Perl/distinfo b/math/p5-Math-Random-MT-Perl/distinfo
new file mode 100644
index 00000000000..f0307e7618e
--- /dev/null
+++ b/math/p5-Math-Random-MT-Perl/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/07/26 20:09:16 he Exp $
+
+SHA1 (Math-Random-MT-Perl-1.05.tar.gz) = 45b55213b85c5c62ea081c0d230e36d25c2d1988
+RMD160 (Math-Random-MT-Perl-1.05.tar.gz) = ee1f2b291723e8ac1ead4d38da7fe3d1645e5d44
+Size (Math-Random-MT-Perl-1.05.tar.gz) = 14914 bytes