diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2010-08-12 12:06:24 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2010-08-12 12:06:24 +0000 |
commit | 25082e4a1b29a4db1d566648497f7b29d87e02e7 (patch) | |
tree | adde4268f81ec03c11ce8acd66fc66ec86e5700d /main/perl | |
parent | 0f963480c2d36bbdf12058003d7f70cc187a6133 (diff) | |
parent | 5d3775c5ae2d4f4a63c22404120c01c3a2d8bd43 (diff) | |
download | aports-25082e4a1b29a4db1d566648497f7b29d87e02e7.tar.bz2 aports-25082e4a1b29a4db1d566648497f7b29d87e02e7.tar.xz |
Merge branch 'master' of ../aports-larena
Diffstat (limited to 'main/perl')
-rw-r--r-- | main/perl/APKBUILD | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/main/perl/APKBUILD b/main/perl/APKBUILD index 42643135c6..ad5583c38b 100644 --- a/main/perl/APKBUILD +++ b/main/perl/APKBUILD @@ -1,7 +1,8 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> +# Contributor: Leonardo Arena <rnalrd@gmail.com> 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" |