mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-09 15:51:45 +02:00
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Celeste <cielesti@protonmail.com>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
pkgname=spvm-errno
|
|
pkgver=0.092
|
|
pkgrel=1
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=SPVM-Errno
|
|
pkgdesc="SPVM Language - Error Numbers"
|
|
url="https://metacpan.org/release/SPVM-Errno/"
|
|
arch="all !s390x" # spvm
|
|
license="MIT"
|
|
depends="perl spvm"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/K/KI/KIMOTO/SPVM-Errno-$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="
|
|
7411a31330a6fcc42cd8aac339926ce4d5d8a91e56755ecca67d7008f4fe2c7297a99931327152ebc6a1ec563a7d029e78ed72e13fa2751d30607b1810e4c198 SPVM-Errno-0.092.tar.gz
|
|
"
|