mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-09 17:24:08 +02:00
it is the `t/02-xsdynamic.t` test that attempts to build an XS module, but when installed, this is a pure Perl `noarch` aport
39 lines
1.2 KiB
Text
39 lines
1.2 KiB
Text
# Automatically generated by apkbuild-cpan, template 3
|
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=perl-extutils-makemaker
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=ExtUtils-MakeMaker
|
|
pkgver=7.70
|
|
pkgrel=2
|
|
pkgdesc="Create a module Makefile"
|
|
url="https://metacpan.org/release/ExtUtils-MakeMaker/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl"
|
|
checkdepends="perl-dev"
|
|
source="https://cpan.metacpan.org/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-$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
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
|
|
# man pages are already provided by perl-doc
|
|
rm -rf "$pkgdir"/usr/share/man
|
|
}
|
|
|
|
sha512sums="
|
|
53eee73c5ce6aa32412e8077ae36d54c7ee10eee56baa4ba06a397c90310e21458bd6719b0f5695bb0de3eb06eddaacf6d635ff82538b0748c8ef362555bc569 ExtUtils-MakeMaker-7.70.tar.gz
|
|
"
|