summaryrefslogtreecommitdiffstats
path: root/testing/perl-package-stash-xs/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2013-09-03 15:54:06 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2013-09-04 09:04:43 +0000
commit795669eb9f6f715aeeec42f85ed189d60113600c (patch)
tree3832ee373791e8448111b8077fded686e148ffb5 /testing/perl-package-stash-xs/APKBUILD
parent860a556b61f62befe02e40851a3b6f8a4f3a606c (diff)
downloadaports-795669eb9f6f715aeeec42f85ed189d60113600c.tar.bz2
aports-795669eb9f6f715aeeec42f85ed189d60113600c.tar.xz
testing/perl-package-stash-xs: upgrade to 0.28
Diffstat (limited to 'testing/perl-package-stash-xs/APKBUILD')
-rw-r--r--testing/perl-package-stash-xs/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/testing/perl-package-stash-xs/APKBUILD b/testing/perl-package-stash-xs/APKBUILD
index 36530622c..09f3b92f7 100644
--- a/testing/perl-package-stash-xs/APKBUILD
+++ b/testing/perl-package-stash-xs/APKBUILD
@@ -3,15 +3,15 @@
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-package-stash-xs
_pkgreal=Package-Stash-XS
-pkgver=0.25
-pkgrel=2
+pkgver=0.28
+pkgrel=0
pkgdesc="faster and more correct implementation of the Package::Stash API"
url="http://search.cpan.org/dist/Package-Stash-XS/"
arch="all"
license="GPL PerlArtistic"
cpandepends=""
-cpanmakedepends=""
-depends="$cpandepends perl-test-fatal"
+cpanmakedepends="perl-test-fatal perl-test-requires perl-package-anon"
+depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DO/DOY/$_pkgreal-$pkgver.tar.gz"
@@ -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,6 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="52ece18842c46da8fb7a4a14dea910ab Package-Stash-XS-0.25.tar.gz"
+md5sums="9664356ec3be02626cbd3081ec246b70 Package-Stash-XS-0.28.tar.gz"
+sha256sums="23d8c5c25768ef1dc0ce53b975796762df0d6e244445d06e48d794886c32d486 Package-Stash-XS-0.28.tar.gz"
+sha512sums="409e884998bf063f438335067ff8f702aa1f12fc686c1912ad532f6536a711273e52c140d9c407c47b7ba4ccacedec480c1542437a90dd76367dc0f732c0db38 Package-Stash-XS-0.28.tar.gz"