aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-extutils-helpers
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-11-20 08:46:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-11-20 10:27:33 +0000
commit3b5d125a603ecb143f9b5c0c64d76e465f8fbcab (patch)
treefb4b31fc65fd1c53deaa1ef5131c1fca71ed5f1b /testing/perl-extutils-helpers
parent1af1aba11f22eedc80490312edb3ffc244e7caa8 (diff)
downloadaports-3b5d125a603ecb143f9b5c0c64d76e465f8fbcab.tar.bz2
aports-3b5d125a603ecb143f9b5c0c64d76e465f8fbcab.tar.xz
testing/perl-extutils-helpers: new aport
Various portability utilities for module builders http://search.cpan.org/dist/ExtUtils-Helpers/
Diffstat (limited to 'testing/perl-extutils-helpers')
-rw-r--r--testing/perl-extutils-helpers/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-extutils-helpers/APKBUILD b/testing/perl-extutils-helpers/APKBUILD
new file mode 100644
index 0000000000..06d200f8ff
--- /dev/null
+++ b/testing/perl-extutils-helpers/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=perl-extutils-helpers
+_pkgreal=ExtUtils-Helpers
+pkgver=0.021
+pkgrel=0
+pkgdesc="Various portability utilities for module builders"
+url="http://search.cpan.org/dist/ExtUtils-Helpers/"
+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_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="94aa8eaf92def26d9af0cb25fcb1570f ExtUtils-Helpers-0.021.tar.gz"
+sha256sums="26b85077f4197b30e62ffec87d3f78111522619d62858d2ab45a64687351892a ExtUtils-Helpers-0.021.tar.gz"
+sha512sums="3bb2e00d36b604d944e813e31400292fdef7841d03c65d198aa86a6852f3910e1f1ad4afc5275ff9953078cd080d8dec14d8c31780724697686adb23cac01a14 ExtUtils-Helpers-0.021.tar.gz"