summaryrefslogtreecommitdiffstats
path: root/base/perl/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/perl/Pkgfile')
-rwxr-xr-xbase/perl/Pkgfile12
1 files changed, 4 insertions, 8 deletions
diff --git a/base/perl/Pkgfile b/base/perl/Pkgfile
index 734946006..d8b73e8ec 100755
--- a/base/perl/Pkgfile
+++ b/base/perl/Pkgfile
@@ -1,21 +1,17 @@
# Description: Langage de programmation PERL (Practical Extraction and Report Language)
-# URL: http://www.perl.org/
+# URL: http://www.perl.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on:
name=perl
-version=5.10.1
+version=5.12.0
release=1
-source=(ftp://ftp.funet.fi/pub/CPAN/src/$name-$version.tar.gz \
- perl-5.10.0-debian-23.patch perl-5.8.6-picdl.patch0)
+source=(ftp://ftp.funet.fi/pub/CPAN/src/$name-$version.tar.gz)
build() {
cd $name-$version
-# patch -Np1 -i ../perl-5.10.0-debian-23.patch
if [ "`uname -m`" == "x86_64" ]; then
_ARCH="-Dcccdlflags='-fPIC'"
- patch -Np0 -i ../perl-5.8.6-picdl.patch0
else
_ARCH=""
fi
@@ -23,7 +19,7 @@ fi
sed -i -e "s|BUILD_ZLIB\s*= True|BUILD_ZLIB = False|" \
-e "s|INCLUDE\s*= ./zlib-src|INCLUDE = /usr/include|" \
-e "s|LIB\s*= ./zlib-src|LIB = /usr/lib|" \
- ext/Compress-Raw-Zlib/config.in
+ cpan/Compress-Raw-Zlib/config.in
sh Configure -des -Dusethreads \
-Dprefix=/usr \
-Dman1dir=/usr/share/man/man1 \