mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-06 09:11:38 +01:00
testing/perl-carp-assert-more: new aport
This commit is contained in:
parent
ba75f63c90
commit
2e28ca4d32
38
testing/perl-carp-assert-more/APKBUILD
Normal file
38
testing/perl-carp-assert-more/APKBUILD
Normal file
@ -0,0 +1,38 @@
|
||||
# Contributor: Wen Heping <wenheping2000@hotmail.com>
|
||||
# Maintainer: Wen Heping <wenheping2000@hotmail.com>
|
||||
pkgname=perl-carp-assert-more
|
||||
pkgver=2.9.0
|
||||
pkgrel=0
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=Carp-Assert-More
|
||||
pkgdesc="Perl module for Carp-Assert-More"
|
||||
url="https://metacpan.org/release/Carp-Assert-More/"
|
||||
arch="noarch"
|
||||
license="Artistic-2.0"
|
||||
depends="perl"
|
||||
checkdepends="perl-test-exception"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/Carp-Assert-More-$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="
|
||||
b9e6b6e0b6a0a4e80f65659e34deb5e0963c1375ab485982805dfee58922d901c1cf3fece79e20348495367903777729da3955e05f1d7546df08912ab33f7ba4 Carp-Assert-More-2.9.0.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user