aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/perl-parallel-forkmanager/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/perl-parallel-forkmanager/APKBUILD')
-rw-r--r--unmaintained/perl-parallel-forkmanager/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/unmaintained/perl-parallel-forkmanager/APKBUILD b/unmaintained/perl-parallel-forkmanager/APKBUILD
new file mode 100644
index 0000000000..0537ab84be
--- /dev/null
+++ b/unmaintained/perl-parallel-forkmanager/APKBUILD
@@ -0,0 +1,37 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-parallel-forkmanager
+_pkgreal=Parallel-ForkManager
+pkgver=0.7.9
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/Parallel-ForkManager/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/D/DL/DLUX/$_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="b49dbc6fafb697945d33ffbded0009f7 Parallel-ForkManager-0.7.9.tar.gz"