mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-16 04:35:13 +03:00
The cargo vars are now set in abuild.conf by default. Newlines done with: find . -name APKBUILD -exec sed -i '/^$/N;/^\n$/D' {} \; See also: https://stackoverflow.com/a/4522043
37 lines
1.2 KiB
Text
37 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.66
|
|
pkgrel=0
|
|
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"
|
|
makedepends="perl-dev"
|
|
subpackages="$pkgname-doc"
|
|
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
|
|
}
|
|
|
|
sha512sums="
|
|
94e2f4e405c8b9d207e12b55832ab4a8e691b3f674c7fc97a1b5b5873cd4a37186b618d2abdb6e2b886201c08caefec68a5c2125645feebb50655a7b6d9c827a ExtUtils-MakeMaker-7.66.tar.gz
|
|
"
|