mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-10 00:02:41 +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-math
|
|
pkgver=1.001
|
|
pkgrel=1
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=SPVM-Math
|
|
pkgdesc="SPVM Language - Mathematical Functions"
|
|
url="https://metacpan.org/release/SPVM-Math/"
|
|
arch="all !s390x" # spvm
|
|
license="MIT"
|
|
depends="perl spvm"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/K/KI/KIMOTO/SPVM-Math-$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="
|
|
9a2993820f04933c837bb3a61016eac41c730f926e2adc2a5ceb0e3e1caeb5f10582dd3c1f809ca02a139da73f4ec655608622e31bf0eb1952246cc2e8c027e2 SPVM-Math-1.001.tar.gz
|
|
"
|