mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-13 06:54:35 +02:00
36 lines
1.2 KiB
Text
36 lines
1.2 KiB
Text
# Automatically generated by apkbuild-cpan, template 3
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=perl-module-install
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Module-Install
|
|
pkgver=1.21
|
|
pkgrel=1
|
|
pkgdesc="Standalone, extensible Perl module installer"
|
|
url="https://metacpan.org/release/Module-Install/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-yaml-tiny perl-module-build perl-module-scandeps perl-file-remove"
|
|
makedepends="perl-dev perl-yaml-tiny"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Module-Install-$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
|
|
}
|
|
|
|
sha512sums="
|
|
f3dd1dfcae81704f1aa9ac409abd22c9e0d5d66c048adac13da19ab88559d717427b5471b7a065db8312d4d44e829afea52567cd0993e4016df0e10c760ada85 Module-Install-1.21.tar.gz
|
|
"
|