blob: 982ac46f1ecb145e55c133a4206c1cde61cdc9ab (
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-starlet
_pkgreal=Starlet
pkgver=0.30
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-parallel-prefork perl-server-starter perl-plack"
cpanmakedepends="perl-test-tcp perl-libwww"
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
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="2c391b258aaf527dae7d4e3b3a40f180 Starlet-0.30.tar.gz"
sha256sums="f2b50c2a0fb0efff2fb1f48e4577dd69567c96560dd442ce2f7297eb09189551 Starlet-0.30.tar.gz"
sha512sums="24ee9c3ea6a0f90cef1f9a4c8657b03133fc64fedc70ffc590b34e45105f7e36cb3be869319e6d42a84dfae23ea6085fe06881d2dd7e88f04ba53619c80eeba1 Starlet-0.30.tar.gz"
|