mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
main/perl-cpan-requirements-dynamic: new aport
Dependency of perl-module-build-tiny 0.048 This aport depends on CPAN::Meta::Requirements::Range, which is only bundled with Perl starting from version 5.40, otherwise it would have to be added in a separate aport.
This commit is contained in:
parent
720d5b1e42
commit
c4ba0295b8
42
main/perl-cpan-requirements-dynamic/APKBUILD
Normal file
42
main/perl-cpan-requirements-dynamic/APKBUILD
Normal file
@ -0,0 +1,42 @@
|
||||
# Automatically generated by apkbuild-cpan, template 4
|
||||
# Contributor: Celeste <cielesti@protonmail.com>
|
||||
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||
pkgname=perl-cpan-requirements-dynamic
|
||||
pkgver=0.001
|
||||
pkgrel=0
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=CPAN-Requirements-Dynamic
|
||||
pkgdesc="Dynamic prerequisites in CPAN metadata files"
|
||||
url="https://metacpan.org/release/CPAN-Requirements-Dynamic/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="
|
||||
perl
|
||||
perl-extutils-config
|
||||
perl-extutils-hascompiler
|
||||
"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/L/LE/LEONT/CPAN-Requirements-Dynamic-$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="
|
||||
d4aba77f52f47c7399164762285e5c42e5eb4ffc5e7c13cf993e8c45975e9e96ac5d6db25817ab88dfa7ba0acdd69109b47dcf193c7cffe890044cfc660a951a CPAN-Requirements-Dynamic-0.001.tar.gz
|
||||
"
|
Loading…
Reference in New Issue
Block a user