mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-05 04:47:14 +02:00
38 lines
1 KiB
Text
38 lines
1 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=spvm-thread
|
|
pkgver=0.003
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=SPVM-Thread
|
|
pkgdesc="SPVM Language - Native Thread"
|
|
url="https://metacpan.org/release/SPVM-Thread/"
|
|
arch="all !s390x" # spvm
|
|
license="MIT"
|
|
depends="perl spvm"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/K/KI/KIMOTO/SPVM-Thread-$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="
|
|
7fc59215e2dc9968f03d3c4b9e2514096a061b64ac5dd5cfe23078087f48f67a5cbdcb3e9570b0db17499356edd4e93b49d2f959c3dc4491c973ce7c04d61279 SPVM-Thread-0.003.tar.gz
|
|
"
|