mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
testing/perl-catalystx-leakchecker: new aport
This commit is contained in:
parent
8c7420daa4
commit
96b864cbec
1 changed files with 40 additions and 0 deletions
40
testing/perl-catalystx-leakchecker/APKBUILD
Normal file
40
testing/perl-catalystx-leakchecker/APKBUILD
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
# Contributor: Wen Heping <wenhepingalpine@sohu.com>
|
||||||
|
# Maintainer: Wen Heping <wenhepingalpine@sohu.com>
|
||||||
|
pkgname=perl-catalystx-leakchecker
|
||||||
|
pkgver=0.06
|
||||||
|
pkgrel=0
|
||||||
|
# _pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||||
|
_pkgreal=CatalystX-LeakChecker
|
||||||
|
pkgdesc="Debug memory leaks in Catalyst applications"
|
||||||
|
url="https://metacpan.org/release/CatalystX-LeakChecker/"
|
||||||
|
arch="noarch"
|
||||||
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||||
|
depends="
|
||||||
|
perl perl-catalyst-runtime perl-devel-cycle perl-moose perl-moosex-types perl-padwalker
|
||||||
|
perl-task-weaken perl-text-simpletable perl-namespace-autoclean perl-namespace-clean
|
||||||
|
"
|
||||||
|
subpackages="$pkgname-doc"
|
||||||
|
source="https://cpan.metacpan.org/authors/id/F/FL/FLORA/CatalystX-LeakChecker-$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="
|
||||||
|
6899db31dc2c071d530d7227fc19921fb9ac004831d081f0e6dd2e2a28f3dbff47bd28aece3aa80ae9459e6bc3a65417e297c50e3ee16cfd1183f81bc9cecc3f CatalystX-LeakChecker-0.06.tar.gz
|
||||||
|
"
|
Loading…
Add table
Add a link
Reference in a new issue