aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-math-random-mt-auto
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-12-17 08:45:41 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2018-12-17 08:50:43 +0000
commitb981b36c8dadd39d6e3e4d042d981daeb5fc9964 (patch)
tree8ef510b3fa027501c6d6b8b2f5fbd1f654c9f80f /community/perl-math-random-mt-auto
parent676984a0209c6f2836130366339763c1e6d93925 (diff)
downloadaports-b981b36c8dadd39d6e3e4d042d981daeb5fc9964.tar.bz2
aports-b981b36c8dadd39d6e3e4d042d981daeb5fc9964.tar.xz
community/perl-math-random-mt-auto: move from testing
required by perl-object-insideout tests
Diffstat (limited to 'community/perl-math-random-mt-auto')
-rw-r--r--community/perl-math-random-mt-auto/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/community/perl-math-random-mt-auto/APKBUILD b/community/perl-math-random-mt-auto/APKBUILD
new file mode 100644
index 0000000000..79c8c49b42
--- /dev/null
+++ b/community/perl-math-random-mt-auto/APKBUILD
@@ -0,0 +1,39 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
+pkgname=perl-math-random-mt-auto
+_pkgreal=Math-Random-MT-Auto
+pkgver=6.22
+pkgrel=3
+pkgdesc="Auto-seeded Mersenne Twister PRNGs"
+url="http://search.cpan.org/dist/Math-Random-MT-Auto/"
+arch="all"
+license="unrestricted"
+cpandepends="perl-exception-class perl-object-insideout"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/J/JD/JDHEDDEN/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="54e42c86369b6172b8b06a88206a89ce Math-Random-MT-Auto-6.22.tar.gz"
+sha256sums="1f2ae9752ba908c126dc2bd3c27cb286543121997f87c5bce578fb2e7f51f01f Math-Random-MT-Auto-6.22.tar.gz"
+sha512sums="9f15623c5a5ce7b7fde77d3189bce605145460b87b946a9c64928f7a5e506cfedd062539c0d2f9728f270825d4ead51d7b60cd76fb0aece2a2036eea576e87e5 Math-Random-MT-Auto-6.22.tar.gz"