aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-module-build
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-07-16 08:06:50 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-16 12:54:38 +0000
commit765c2c47b20e64b61ed63eb7c435beebb0c7f399 (patch)
treed9e0d1aee5717561872ea0189594b9a8ae62bb76 /main/perl-module-build
parentb23cc320379fe09b2d070b642578106f6c84288b (diff)
downloadaports-765c2c47b20e64b61ed63eb7c435beebb0c7f399.tar.bz2
aports-765c2c47b20e64b61ed63eb7c435beebb0c7f399.tar.xz
main/perl-module-build: move from testing and upgrade to 0.4214
Diffstat (limited to 'main/perl-module-build')
-rw-r--r--main/perl-module-build/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-module-build/APKBUILD b/main/perl-module-build/APKBUILD
new file mode 100644
index 0000000000..9d734db024
--- /dev/null
+++ b/main/perl-module-build/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-module-build
+_pkgreal=Module-Build
+pkgver=0.4214
+pkgrel=0
+pkgdesc="Build and install Perl modules"
+url="http://search.cpan.org/dist/Module-Build/"
+arch="noarch"
+license="GPL PerlArtistic"
+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 || return 1
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build && ./Build test
+}
+
+package() {
+ cd "$_builddir"
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="7b7ca5a47bef48c50c8b5906ca3ac7fb Module-Build-0.4214.tar.gz"
+sha256sums="c579488918cf4db84954a550c475272b3c25f5100c739339e91a65d7c055dc3f Module-Build-0.4214.tar.gz"
+sha512sums="33bc4adfd21cfa3ff3489fd4ed2a6dfd9b4bd9bcdb7839a76088876fcf5bc9b435c2d246e9eee60a6ae3ac6c6d06a377d8dc0440ec725a4985a8dd1746c445b2 Module-Build-0.4214.tar.gz"