summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-10-01 10:02:10 -0400
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-10-01 10:02:10 -0400
commit713b29a691eee764fb2b55e4854f16ed47245a29 (patch)
treedbe4db3f20226c64a57bcc3f28a7603c0054e5fc
parent5e7e1eec53c838db55d2693714e9cc148fdad4fb (diff)
downloadpackages-713b29a691eee764fb2b55e4854f16ed47245a29.tar.gz
packages-713b29a691eee764fb2b55e4854f16ed47245a29.tar.bz2
packages-713b29a691eee764fb2b55e4854f16ed47245a29.tar.xz
packages-713b29a691eee764fb2b55e4854f16ed47245a29.zip
user/perl-parallel-forkmanager: new package
-rw-r--r--user/perl-parallel-forkmanager/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/user/perl-parallel-forkmanager/APKBUILD b/user/perl-parallel-forkmanager/APKBUILD
new file mode 100644
index 000000000..77fe566db
--- /dev/null
+++ b/user/perl-parallel-forkmanager/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Adelie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-parallel-forkmanager
+pkgver=2.02
+pkgrel=0
+pkgdesc="Perl library for managing fork()-based parallelization"
+url="https://metacpan.org/pod/Parallel::ForkManager"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-2.0-only"
+depends="perl perl-moo"
+checkdepends="perl-test-warn"
+makedepends=""
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/Y/YA/YANICK/Parallel-ForkManager-$pkgver.tar.gz"
+builddir="$srcdir/Parallel-ForkManager-$pkgver"
+
+build() {
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ make test
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="2b390ec8f252e7bf2b6be8d602b231b1fd347bc5256bf7f16a6d56f67256938f3d96b7a28c92c662d8b91441b7fa4cb5922c655e64a7a4a9332eb58f19b6bcfb Parallel-ForkManager-2.02.tar.gz"