aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2010-08-12 12:36:24 +0000
committerLeonardo Arena <rnalrd@gmail.com>2010-08-12 12:36:24 +0000
commit74fb602d726d8508fe433ef43c27db1e2540ae16 (patch)
tree406439dbefcc3f2cb7a01a72165eb85d89325564 /main/perl/APKBUILD
parent25082e4a1b29a4db1d566648497f7b29d87e02e7 (diff)
downloadaports-74fb602d726d8508fe433ef43c27db1e2540ae16.tar.bz2
aports-74fb602d726d8508fe433ef43c27db1e2540ae16.tar.xz
Revert "main/perl: upgrade to 5.12.1"
This reverts commit 2d1e32f027ee4d8acbf8c11dee9ee78df92ca95a. Back to 5.10.1
Diffstat (limited to 'main/perl/APKBUILD')
-rw-r--r--main/perl/APKBUILD17
1 files changed, 4 insertions, 13 deletions
diff --git a/main/perl/APKBUILD b/main/perl/APKBUILD
index ad5583c38b..42643135c6 100644
--- a/main/perl/APKBUILD
+++ b/main/perl/APKBUILD
@@ -1,8 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-# Contributor: Leonardo Arena <rnalrd@gmail.com>
pkgname=perl
-pkgver=5.12.1
-pkgrel=0
+pkgver=5.10.1
+pkgrel=1
pkgdesc="Larry Wall's Practical Extraction and Report Language"
url=http://www.perl.org
license="Artistic GPL-2"
@@ -10,16 +9,8 @@ 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 $_builddir
+ cd "$srcdir/$pkgname-$pkgver"
./Configure -des \
-Dcccdlflags='-fPIC' \
-Dcccdlflags='-fPIC' \
@@ -62,4 +53,4 @@ miniperl() {
cp "$srcdir/perl-$pkgver"/miniperl "$subpkgdir/usr/bin"
}
-md5sums="a57b6c82e9319145db72936b5e2fcbc7 perl-5.12.1.tar.gz"
+md5sums="b9b2fdb957f50ada62d73f43ee75d044 perl-5.10.1.tar.gz"