mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/perl-catalyst-runtime: new aport
This commit is contained in:
parent
81ce1cb1f7
commit
f9c0576beb
56
testing/perl-catalyst-runtime/APKBUILD
Normal file
56
testing/perl-catalyst-runtime/APKBUILD
Normal file
@ -0,0 +1,56 @@
|
||||
# Contributor: Wen Heping <wenheping2000@hotmail.com>
|
||||
# Maintainer: Wen Heping <wenheping2000@hotmail.com>
|
||||
pkgname=perl-catalyst-runtime
|
||||
pkgver=5.90132
|
||||
pkgrel=0
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=Catalyst-Runtime
|
||||
pkgdesc="The Catalyst Framework Runtime"
|
||||
url="https://metacpan.org/release/Catalyst-Runtime/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="
|
||||
perl perl-cgi-simple perl-cgi-struct perl-class-c3-adopt-next perl-class-load perl-data-dump
|
||||
perl-data-optlist perl-module-pluggable perl-html-parser perl-http-body perl-http-message
|
||||
perl-hash-multivalue perl-json-maybexs perl-libwww perl-mro-compat perl-moose
|
||||
perl-moosex-emulate-class-accessor-fast perl-moosex-getopt perl-moosex-methodattributes
|
||||
perl-path-class perl-perlio-utf8_strict perl-plack
|
||||
perl-plack-middleware-fixmissingbodyinredirect perl-plack-middleware-methodoverride
|
||||
perl-plack-middleware-removeredundantbody perl-plack-middleware-reverseproxy
|
||||
perl-plack-test-externalserver perl-safe-isa perl-stream-buffered perl-string-rewriteprefix
|
||||
perl-sub-exporter perl-task-weaken perl-text-simpletable perl-tree-simple
|
||||
perl-tree-simple-visitorfactory perl-try-tiny perl-uri perl-uri-ws perl-namespace-clean
|
||||
"
|
||||
checkdepends="perl-http-message perl-test-fatal"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/J/JJ/JJNAPIORK/Catalyst-Runtime-$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 \
|
||||
NO_PACKLIST=1 \
|
||||
NO_PERLLOCAL=1
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
doc() {
|
||||
local file; find "$pkgdir" -name "*.pod" | while read -r file; do
|
||||
amove "${file#"$pkgdir"}"
|
||||
done
|
||||
default_doc
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
773875f0607179b5c0a929fe0a49d635613bb9f4924111b2a22617cdc63675947a378a0acad5c54c91133b345e817e0ce305c5aa35b53950308b9f3c6bf50519 Catalyst-Runtime-5.90132.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user