aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorKiyoshi Aman <aphrael@alpinelinux.org>2012-04-05 19:54:03 -0400
committerKiyoshi Aman <aphrael@alpinelinux.org>2012-04-05 19:55:46 -0400
commit9b4d7a86ec1382fe715bb3da719863cb599ebfc2 (patch)
tree81840d718258119e778242e8fcfba519a34417b9 /testing
parent8e2cb33d12c31e98a96cf740900a82c7b65aeffa (diff)
downloadaports-9b4d7a86ec1382fe715bb3da719863cb599ebfc2.tar.bz2
aports-9b4d7a86ec1382fe715bb3da719863cb599ebfc2.tar.xz
testing/perl-moo: upgrade to 0.009014
Diffstat (limited to 'testing')
-rw-r--r--testing/perl-moo/APKBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/testing/perl-moo/APKBUILD b/testing/perl-moo/APKBUILD
index 207499eb54..d55ec84ea3 100644
--- a/testing/perl-moo/APKBUILD
+++ b/testing/perl-moo/APKBUILD
@@ -1,16 +1,16 @@
# Automatically generated by apkbuild-cpan, template 1
-# Contributor: Francesco Colista <francesco.colista@gmail.com>
-# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=perl-moo
_pkgreal=Moo
-pkgver=0.009012
+pkgver=0.009014
pkgrel=0
pkgdesc="Minimalist Object Orientation (with Moose compatiblity)"
url="http://search.cpan.org/dist/Moo/"
arch="noarch"
license="GPL PerlArtistic"
-cpandepends="perl-class-method-modifiers perl-strictures"
-cpanmakedepends="perl-test-fatal"
+cpandepends="perl-class-method-modifiers perl-role-tiny perl-module-runtime perl-strictures"
+cpanmakedepends="perl-test-fatal "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
@@ -20,11 +20,13 @@ _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
}
@@ -34,4 +36,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="58eb7e75104407bc7380f7019f1e7b75 Moo-0.009012.tar.gz"
+md5sums="1a4da388624fa4eab3c7ad3b5833b538 Moo-0.009014.tar.gz"