blob: 57274d528955380559ce08bd3dd4a5ab93988de0 (
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
40
|
# 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-starlet
_pkgreal=Starlet
pkgver=0.20
pkgrel=0
pkgdesc="a simple, high-performance PSGI/Plack HTTP server"
url="http://search.cpan.org/dist/Starlet/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-server-starter perl-plack perl-parallel-prefork"
cpanmakedepends="perl-libwww perl-test-tcp "
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 || return 1
if ! grep -q "VxID: [0-9]*" /proc/self/status; then make test || return 1; fi
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="37feaa41ff4b40c0eb6f36352495b6db Starlet-0.20.tar.gz"
sha256sums="bd1be2f83618841db6036fa01848d07b45a307daaf0cb7c62507b1b7145fddb1 Starlet-0.20.tar.gz"
sha512sums="32b0584b1f48a4a27d846d8da3148a2238863b436c967a0a2415276f5dcf5671f8e400e6384232676383e738b6c2ff30d33c51527faf0e9d3a3abbb21f46397f Starlet-0.20.tar.gz"
|