mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-04 10:38:26 +02:00
36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
# Automatically generated by apkbuild-cpan, template 3
|
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=perl-module-build
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Module-Build
|
|
pkgver=0.4234
|
|
pkgrel=1
|
|
pkgdesc="Build and install Perl modules"
|
|
url="https://metacpan.org/release/Module-Build/"
|
|
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/L/LE/LEONT/Module-Build-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
perl Build.PL --installdirs=vendor
|
|
./Build
|
|
}
|
|
|
|
check() {
|
|
./Build test
|
|
}
|
|
|
|
package() {
|
|
./Build install --destdir="$pkgdir"
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="
|
|
e2bbdd64f98b424ea7fd20e2ba301d34b77c9f2ecec28e3191fda63a056a12c0fb1cab1496419e9e9b8054db1a8d3fe92e1f033cdcdf021e1a086c8859905eca Module-Build-0.4234.tar.gz
|
|
"
|