diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-02-18 11:12:12 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-02-18 11:16:09 +0100 |
commit | 6c5cfabbaffcd69b66cd28a1119abe292a1631f7 (patch) | |
tree | ff335970ab56d67f1232f067e5f10d57a5985efc /community | |
parent | a22a3c39e87dcda66b1718318d97bb5ee054e732 (diff) | |
download | aports-6c5cfabbaffcd69b66cd28a1119abe292a1631f7.tar.bz2 aports-6c5cfabbaffcd69b66cd28a1119abe292a1631f7.tar.xz |
community/perl-parallel-forkmanager: move from testing
Diffstat (limited to 'community')
-rw-r--r-- | community/perl-parallel-forkmanager/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community/perl-parallel-forkmanager/APKBUILD b/community/perl-parallel-forkmanager/APKBUILD new file mode 100644 index 0000000000..84dde245c1 --- /dev/null +++ b/community/perl-parallel-forkmanager/APKBUILD @@ -0,0 +1,41 @@ +# 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=1.19 +pkgrel=0 +pkgdesc="unknown" +url="http://search.cpan.org/dist/Parallel-ForkManager/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="perl-test-warn" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/$_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 +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="fdd076de153a09e1e8fb681cadc6c36a05f4c8a6718df61937eb5d26729108a6f2f322a7fb9d4bf6166bbfe52cb857e3ea6cab8368c7b5959500018cc01747c6 Parallel-ForkManager-1.19.tar.gz" |