summaryrefslogtreecommitdiffstats
path: root/main/perl-parallel-prefork/APKBUILD
blob: 58a83c17fb3f15af5c893e5e35bebc0288cf53c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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"