1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00

testing/perl-task-catalyst: new aport

This commit is contained in:
Wen Heping 2025-06-15 03:19:39 +00:00 committed by Celeste
parent ba813369fc
commit 36283ef47f

View file

@ -0,0 +1,50 @@
# Contributor: Wen Heping <wenhepingalpine@sohu.com>
# Maintainer: Wen Heping <wenhepingalpine@sohu.com>
pkgname=perl-task-catalyst
pkgver=4.02
pkgrel=0
# _pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Task-Catalyst
pkgdesc="All you need to start with Catalyst"
url="https://metacpan.org/release/Task-Catalyst/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="
perl perl-catalyst-runtime perl-catalyst-action-rest perl-catalyst-actionrole-acl
perl-catalyst-authentication-credential-http perl-catalyst-authentication-store-dbix-class
perl-catalyst-component-instancepercontext perl-catalyst-controller-actionrole
perl-catalyst-devel perl-catalyst-manual perl-catalyst-model-adaptor
perl-catalyst-model-dbic-schema perl-catalyst-plugin-authentication
perl-catalyst-plugin-configloader perl-catalyst-plugin-i18n perl-catalyst-plugin-session
perl-catalyst-plugin-session-state-cookie perl-catalyst-plugin-session-store-dbic
perl-catalyst-plugin-session-store-file perl-catalyst-plugin-stacktrace
perl-catalyst-plugin-static-simple perl-catalyst-view-email perl-catalyst-view-tt
perl-catalystx-component-traits perl-catalystx-leakchecker perl-catalystx-profile
perl-catalystx-repl perl-catalystx-simplelogin perl-fcgi perl-fcgi-procmanager perl-starman
perl-test-www-mechanize-catalyst perl-local-lib
"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/B/BO/BOBTFISH/Task-Catalyst-$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
}
sha512sums="
5874d2dffdec143482549196f0bae20d3cc2bd2344ff69ee9f1daf5cd9145addf94dcbaad3ca353d7025cbdff2b59bc1c8095a3c74e98a030f6a1c8ea4f40f13 Task-Catalyst-4.02.tar.gz
"