mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-08 23:31:35 +02:00
https://metacpan.org/release/X-Tiny/ Super-lightweight exception framework Needed by perl-dns-unbound
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Celeste <cielesti@protonmail.com>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
pkgname=perl-x-tiny
|
|
pkgver=0.22
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=X-Tiny
|
|
pkgdesc="Super-lightweight exception framework"
|
|
url="https://metacpan.org/release/X-Tiny/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-module-runtime"
|
|
checkdepends="perl-test-failwarnings"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/F/FE/FELIPE/X-Tiny-$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="
|
|
86378f802c74e48ec5ed615429983b7b25d58758d95fa6dfe97aca4f27be8cf361f3218316d5057ec7f54d1e2b7aa32fad8c4046b7b862e83338215503220827 X-Tiny-0.22.tar.gz
|
|
"
|