aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-class-load/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-03-22 09:35:22 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-03-22 09:35:22 +0000
commita7f9ff6e3a68f6515565a5630cc0c6f60c615f32 (patch)
tree66a9c294fe7c642f7a329fc3e75faf48075e5f75 /main/perl-class-load/APKBUILD
parentd7df8897467fa63f2fcce02665230271dd4f4c2c (diff)
downloadaports-a7f9ff6e3a68f6515565a5630cc0c6f60c615f32.tar.bz2
aports-a7f9ff6e3a68f6515565a5630cc0c6f60c615f32.tar.xz
main/perl-class-load: upgrade to 0.18
Diffstat (limited to 'main/perl-class-load/APKBUILD')
-rw-r--r--main/perl-class-load/APKBUILD35
1 files changed, 17 insertions, 18 deletions
diff --git a/main/perl-class-load/APKBUILD b/main/perl-class-load/APKBUILD
index c979053cc6..df83d0b090 100644
--- a/main/perl-class-load/APKBUILD
+++ b/main/perl-class-load/APKBUILD
@@ -1,33 +1,32 @@
-# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Automatically generated by apkbuild-cpan, template 1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-class-load
-pkgver=0.13
+_pkgreal=Class-Load
+pkgver=0.18
pkgrel=0
-pkgdesc="Class::Load perl module"
+pkgdesc="a working (require "Class::Name") and more"
url="http://search.cpan.org/dist/Class-Load/"
arch="noarch"
-license="GPLv2 or Artistic"
-depends="perl perl-test-fatal perl-data-optlist perl-module-runtime perl-package-stash"
-makedepends="perl-dev"
-install=""
+license="GPL PerlArtistic"
+cpandepends="perl-try-tiny perl-module-runtime perl-package-stash perl-data-optlist perl-module-implementation"
+cpanmakedepends=" perl-test-fatal perl-test-requires "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Load-$pkgver.tar.gz"
+source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
-_builddir="$srcdir"/Class-Load-$pkgver
prepare() {
- local i
cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make && make test || return 1
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
}
package() {
@@ -36,4 +35,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="d26a8c6da4e12d72d9f06a47c89c6a73 Class-Load-0.13.tar.gz"
+md5sums="da9ec57dd0199f6393702f2273ad6442 Class-Load-0.18.tar.gz"