blob: 7dc8fd0be1fa20201236be16ecd7d7b0a562ab0c (
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 3
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Timothy Legge <timlegge@gmail.com>
pkgname=perl-plack
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Plack
pkgver=1.0048
pkgrel=0
pkgdesc="Perl Superglue for Web frameworks and Web Servers (PSGI toolkit)"
url="https://metacpan.org/release/Plack/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-file-sharedir perl-filesys-notify-simple perl-stream-buffered
perl-uri perl-devel-stacktrace-ashtml perl-test-tcp perl-try-tiny
perl-apache-logformat-compiler perl-hash-multivalue perl-http-message
perl-cookie-baker perl-www-form-urlencoded perl-http-entity-parser perl-http-headers-fast"
makedepends="perl-dev perl-file-sharedir-install"
checkdepends="perl-test-requires perl-fcgi perl-mime-types perl-fcgi-procmanager
perl-module-refresh perl-cgi-emulate-psgi"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/Plack-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
make
}
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="52168240deaaf613a86a157bde426d22e1e857e0506605f0e7568aa05b968d236ed42843772d7dc187de8f9ebf0329999ac534c04bda8fa739173da45828a5e0 Plack-1.0048.tar.gz"
|