diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-24 09:35:33 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-24 09:35:33 +0000 |
commit | f0f918f53b8e165e49188fd2f3a63814167ba380 (patch) | |
tree | 1d04ca738b321efe5a21a66d8015a4a9a7b0e4d9 /testing/perl-class-load-xs | |
parent | 71214f38526ce49dc2b94af1667ee4fb7a863195 (diff) | |
download | aports-f0f918f53b8e165e49188fd2f3a63814167ba380.tar.bz2 aports-f0f918f53b8e165e49188fd2f3a63814167ba380.tar.xz |
testing/perl-class-load-xs: upgrade to 0.08
Diffstat (limited to 'testing/perl-class-load-xs')
-rw-r--r-- | testing/perl-class-load-xs/APKBUILD | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/testing/perl-class-load-xs/APKBUILD b/testing/perl-class-load-xs/APKBUILD index e0e0a59c16..4cbece9811 100644 --- a/testing/perl-class-load-xs/APKBUILD +++ b/testing/perl-class-load-xs/APKBUILD @@ -3,36 +3,39 @@ # Maintainer: Francesco Colista <francesco.colista@gmail.com> pkgname=perl-class-load-xs _pkgreal=Class-Load-XS -pkgver=0.04 -pkgrel=1 +pkgver=0.08 +pkgrel=0 pkgdesc="XS implementation of parts of Class::Load" url="http://search.cpan.org/dist/Class-Load-XS/" arch="all" license="Artistic-2" cpandepends="perl-class-load" -cpanmakedepends="perl-class-load perl-test-fatal perl-test-requires perl-module-implementation " +cpanmakedepends=" perl-test-requires perl-test-fatal perl-module-implementation " depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_pkgreal-$pkgver.tar.gz" +source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_pkgreal-$pkgver.tar.gz" _builddir="$srcdir/$_pkgreal-$pkgver" prepare() { cd "$_builddir" - perl Build.PL installdirs=vendor || return 1 + 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}'` - ./Build && ./Build test + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make && make test } package() { cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 + make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="f805304cb330591651c443397c23e60a Class-Load-XS-0.04.tar.gz" +md5sums="c4d992d7023fa3015322916850ee95d9 Class-Load-XS-0.08.tar.gz" +sha256sums="67f5e120ed79d853ad5941bca42d5fe4a1ed2324cc8f79d2918aead9d8cf1be9 Class-Load-XS-0.08.tar.gz" +sha512sums="ee0a8a9ee031906f1b388bc564e1ac00703e2cfecb745d83f640d46b7bfd708ad38f199029a8292767169521ab130be5c6db8888382758025b94429ac5d3db5d Class-Load-XS-0.08.tar.gz" |