summaryrefslogtreecommitdiffstats
path: root/main/perl-date-manip
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-04-25 18:20:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-04-25 18:20:46 +0000
commit4683902197f7cbe5d827b5441a61a740ab86a87f (patch)
tree81e66c4f8c5b675ee8d5d233b45b19d7fa6cdcd2 /main/perl-date-manip
parent2be68ade9d45f5d252c66c67002f7718b2853aad (diff)
downloadaports-4683902197f7cbe5d827b5441a61a740ab86a87f.tar.bz2
aports-4683902197f7cbe5d827b5441a61a740ab86a87f.tar.xz
main/perl-date-manip: upgrade to 6.31
Diffstat (limited to 'main/perl-date-manip')
-rw-r--r--main/perl-date-manip/APKBUILD37
1 files changed, 20 insertions, 17 deletions
diff --git a/main/perl-date-manip/APKBUILD b/main/perl-date-manip/APKBUILD
index 312d05918..82c93f21c 100644
--- a/main/perl-date-manip/APKBUILD
+++ b/main/perl-date-manip/APKBUILD
@@ -1,35 +1,38 @@
-# Contributor: Mika Havela <mika.havela@gmail.com>
+# Automatically generated by apkbuild-cpan, template 1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-date-manip
-_realname=Date-Manip
-pkgver=6.30
+_pkgreal=Date-Manip
+pkgver=6.31
pkgrel=0
-pkgdesc="Perl - Date manipulation routines"
-url="http://search.cpan.org/~sbeck/$_realname-$pkgver/"
+pkgdesc="Date manipulation routines"
+url="http://search.cpan.org/dist/Date-Manip/"
arch="noarch"
-license="Artistic GPL"
-depends="perl perl-test-pod perl-test-inter perl-yaml-syck perl-test-pod-coverage"
-makedepends="perl-dev"
-#subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/$_realname-$pkgver.tar.gz"
+license="GPL PerlArtistic"
+cpandepends="perl-yaml-syck"
+cpanmakedepends="perl-test-inter "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/$_pkgreal-$pkgver.tar.gz"
-_builddir="$srcdir/$_realname-$pkgver"
+_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ perl Build.PL installdirs=vendor || return 1
}
build() {
cd "$_builddir"
- perl Build.PL || return 1
- ./Build test || return 1
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build && ./Build test
}
package() {
cd "$_builddir"
- ./Build destdir="$pkgdir" install
- # creates file collision among perl modules
- find "$pkgdir" -name perllocal.pod -delete
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="6a0e74703a1b0931e5208b0b93ef689a Date-Manip-6.30.tar.gz"
+md5sums="d2eee5a84750a003d1f884cfbba7d7d7 Date-Manip-6.31.tar.gz"