aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-devel-globaldestruction
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-05-23 07:55:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-05-23 07:55:25 +0000
commit5864d7a7f7bc58a0898d9c9d0b3fd503729b63d6 (patch)
tree9e21f19737c5e9dd8556d6c202fdb93f70c94de6 /main/perl-devel-globaldestruction
parent1189b416c06db74e0a96bbb5fa167f4ac9142fd3 (diff)
downloadaports-5864d7a7f7bc58a0898d9c9d0b3fd503729b63d6.tar.bz2
aports-5864d7a7f7bc58a0898d9c9d0b3fd503729b63d6.tar.xz
main/perl-devel-globaldestruction: upgrade to 0.09 nad use version from testing
Diffstat (limited to 'main/perl-devel-globaldestruction')
-rw-r--r--main/perl-devel-globaldestruction/APKBUILD38
1 files changed, 19 insertions, 19 deletions
diff --git a/main/perl-devel-globaldestruction/APKBUILD b/main/perl-devel-globaldestruction/APKBUILD
index e2ffb543ef..ffa6280c4f 100644
--- a/main/perl-devel-globaldestruction/APKBUILD
+++ b/main/perl-devel-globaldestruction/APKBUILD
@@ -1,33 +1,33 @@
-# Contributor: Natanael Copa <ncopa@alpinelinux.org>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-devel-globaldestruction
-pkgver=0.03
+_pkgreal=Devel-GlobalDestruction
+pkgver=0.09
pkgrel=0
-pkgdesc="Devel::GlobalDestruction perl module"
+pkgdesc="unknown"
url="http://search.cpan.org/dist/Devel-GlobalDestruction/"
arch="noarch"
-license="GPLv2 or Artistic"
-depends="perl perl-scope-guard perl-sub-exporter"
-makedepends="perl-dev"
-install=""
+license="GPL PerlArtistic"
+cpandepends="perl-sub-exporter-progressive"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Devel-GlobalDestruction-$pkgver.tar.gz"
+source="http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
-_builddir="$srcdir"/Devel-GlobalDestruction-$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 +36,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="09b70f95536464d8901675f230fbc3aa Devel-GlobalDestruction-0.03.tar.gz"
+md5sums="97e52fdf2de2df1843a5d3d9fce725df Devel-GlobalDestruction-0.09.tar.gz"