From 2d1e32f027ee4d8acbf8c11dee9ee78df92ca95a Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Thu, 12 Aug 2010 12:02:30 +0000 Subject: main/perl: upgrade to 5.12.1 --- main/perl/APKBUILD | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'main/perl') diff --git a/main/perl/APKBUILD b/main/perl/APKBUILD index 42643135c..ad5583c38 100644 --- a/main/perl/APKBUILD +++ b/main/perl/APKBUILD @@ -1,7 +1,8 @@ # Maintainer: Natanael Copa +# Contributor: Leonardo Arena pkgname=perl -pkgver=5.10.1 -pkgrel=1 +pkgver=5.12.1 +pkgrel=0 pkgdesc="Larry Wall's Practical Extraction and Report Language" url=http://www.perl.org license="Artistic GPL-2" @@ -9,8 +10,16 @@ source=http://www.perl.com/CPAN/src/perl-${pkgver}.tar.gz depends= subpackages="$pkgname-dev $pkgname-doc miniperl" +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd $_builddir + sed -i -e 's/less -R/less/g' ./Configure + sed -i -e 's/libswanted="\(.*\) nsl\(.*\)"/libswanted="\1\2"/g' ./Configure +} + build() { - cd "$srcdir/$pkgname-$pkgver" + cd $_builddir ./Configure -des \ -Dcccdlflags='-fPIC' \ -Dcccdlflags='-fPIC' \ @@ -53,4 +62,4 @@ miniperl() { cp "$srcdir/perl-$pkgver"/miniperl "$subpkgdir/usr/bin" } -md5sums="b9b2fdb957f50ada62d73f43ee75d044 perl-5.10.1.tar.gz" +md5sums="a57b6c82e9319145db72936b5e2fcbc7 perl-5.12.1.tar.gz" -- cgit v1.2.3