From e1a98338ee60e3e49cb1198299fac961e2d99ea6 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 25 Jun 2018 19:03:30 -0500 Subject: system/perl-module-build: pull in for po4a --- system/perl-module-build/APKBUILD | 44 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 system/perl-module-build/APKBUILD (limited to 'system') diff --git a/system/perl-module-build/APKBUILD b/system/perl-module-build/APKBUILD new file mode 100644 index 000000000..83ba709ca --- /dev/null +++ b/system/perl-module-build/APKBUILD @@ -0,0 +1,44 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista +# Maintainer: +pkgname=perl-module-build +_pkgreal=Module-Build +pkgver=0.4224 +pkgrel=0 +pkgdesc="Build and install Perl modules" +url="http://search.cpan.org/dist/Module-Build/" +arch="noarch" +license="GPL-2.0-only AND Artistic-1.0-Perl" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/$_pkgreal-$pkgver.tar.gz" + +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + perl Build.PL installdirs=vendor +} + +build() { + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + ./Build +} + +check() { + cd "$builddir" + ./Build test +} + +package() { + cd "$builddir" + ./Build install destdir="$pkgdir" + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="c08e84c542a882aa16a682a81cbb7a4860774a3f6a0ec2e720ba9e9bcea76dab331999fee86bf8b92edc08560d7cef4a7c2dfa4e626ab9b22da965e715af531f Module-Build-0.4224.tar.gz" -- cgit v1.2.3-70-g09d2