diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-06-30 15:19:03 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-06-30 15:20:32 +0000 |
commit | d8039c7203e296170434e018a8caa801604582f6 (patch) | |
tree | 5e3f80f73e5f3c3715c1d5fe8b50bedc7f65a034 /community | |
parent | f9428b237642df921500d25cf626e0605a903146 (diff) | |
download | aports-d8039c7203e296170434e018a8caa801604582f6.tar.bz2 aports-d8039c7203e296170434e018a8caa801604582f6.tar.xz |
community/perl-parallel-prefork: moved from main
Diffstat (limited to 'community')
-rw-r--r-- | community/perl-parallel-prefork/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/community/perl-parallel-prefork/APKBUILD b/community/perl-parallel-prefork/APKBUILD new file mode 100644 index 0000000000..58a83c17fb --- /dev/null +++ b/community/perl-parallel-prefork/APKBUILD @@ -0,0 +1,39 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Timo Teräs <timo.teras@iki.fi> +pkgname=perl-parallel-prefork +_pkgreal=Parallel-Prefork +pkgver=0.14 +pkgrel=0 +pkgdesc="A simple prefork server framework" +url="http://search.cpan.org/dist/Parallel-Prefork/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-list-moreutils perl-class-accessor-lite perl-scope-guard perl-proc-wait3" +cpanmakedepends="perl-test-sharedfork perl-test-requires " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/K/KA/KAZUHO/$_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="223570b872af5ec337e3fdc31e47d7e0 Parallel-Prefork-0.14.tar.gz" +sha256sums="68b70d0de6c2625e862402cc39288043f175816ede03d887a52f28500008ca0e Parallel-Prefork-0.14.tar.gz" +sha512sums="18a9155775779d85956492f252f87e543590e4b4403f40fd4da86f041784b344683d88db49137cdad1e5d22c6f1017453bab7c0e1fb38731933194a32015547a Parallel-Prefork-0.14.tar.gz" |