mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
https://metacpan.org/release/LEONT/ExtUtils-Builder-0.011/diff/LEONT/ExtUtils-Builder-0.010
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Celeste <cielesti@protonmail.com>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
pkgname=perl-extutils-builder
|
|
pkgver=0.011
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=ExtUtils-Builder
|
|
pkgdesc="Framework for creating platform and build system agnostic plans"
|
|
url="https://metacpan.org/release/ExtUtils-Builder/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-extutils-config"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/L/LE/LEONT/ExtUtils-Builder-$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="
|
|
dd327a3a14679fc61ab6d51600cf801af58cfdb69f788056d077041ec648f9a141fb98156631e85b235e1c8a1bc6de19f2bfab72a3f3bcb1dcec15a6b94f463c ExtUtils-Builder-0.011.tar.gz
|
|
"
|