summaryrefslogtreecommitdiffstats
path: root/base/perl/Pkgfile
diff options
context:
space:
mode:
authorSibelle <lesibel@free.fr>2011-07-14 13:37:15 +0200
committerSibelle <lesibel@free.fr>2011-07-14 13:37:15 +0200
commit41c0c6f7a708fd91517c7dcca2695bf51451ac7a (patch)
tree8f5ee01c9663194ea96187bb3326ec72a2e8d259 /base/perl/Pkgfile
parent52a9e9367a448b714054477e4072d9fdc86cc76b (diff)
downloadnutyx-extra-41c0c6f7a708fd91517c7dcca2695bf51451ac7a.tar.gz
nutyx-extra-41c0c6f7a708fd91517c7dcca2695bf51451ac7a.tar.bz2
nutyx-extra-41c0c6f7a708fd91517c7dcca2695bf51451ac7a.tar.xz
nutyx-extra-41c0c6f7a708fd91517c7dcca2695bf51451ac7a.zip
perl 5.12.3-2 downgrade
Diffstat (limited to 'base/perl/Pkgfile')
-rwxr-xr-xbase/perl/Pkgfile52
1 files changed, 50 insertions, 2 deletions
diff --git a/base/perl/Pkgfile b/base/perl/Pkgfile
index 27935f6fb..4403ab2f6 100755
--- a/base/perl/Pkgfile
+++ b/base/perl/Pkgfile
@@ -3,9 +3,15 @@
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
+
+# Description: Langage de programmation PERL (Practical Extraction and Report Language)
+# URL: http://www.perl.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+
name=perl
-version=5.14.1
-release=1
+version=5.12.3
+release=2
source=(ftp://ftp.funet.fi/pub/CPAN/src/$name-$version.tar.gz)
build() {
@@ -42,3 +48,45 @@ find $PKG -iname 'TODO*' -or \
find $PKG -depth -empty -exec rmdir {} \;
chmod -R +w $PKG
}
+
+
+
+#name=perl
+#version=5.14.1
+#release=1
+#source=(ftp://ftp.funet.fi/pub/CPAN/src/$name-$version.tar.gz)
+
+#build() {
+#cd $name-$version
+#if [ "`uname -m`" == "x86_64" ]; then
+# _ARCH="-Dcccdlflags='-fPIC'"
+#else
+# _ARCH=""
+#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|" \
+# cpan/Compress-Raw-Zlib/config.in
+#sh Configure -des -Dusethreads \
+# -Dprivlib=/usr/share/perl5/base \
+# -Darchlib=/usr/share/perl5/base \
+# -Dvendorlib=/usr/share/perl5/vendor \
+# -Dvendorarch=/usr/lib/perl5/vendor \
+# -Dsitelib=/usr/share/perl5/site \
+# -Dsitearch=/usr/lib/perl5/site \
+# -Dprefix=/usr -Duseshrplib \
+# -Dman1dir=/usr/share/man/man1 \
+# -Dman3dir=/usr/share/man/man3 \
+# -Dpager="/usr/bin/less isR" ${_ARCH}
+#make
+#make DESTDIR=$PKG install
+#find $PKG -iname 'TODO*' -or \
+# -iname 'Change*' -or \
+# -iname 'README*' -or \
+# -name '*.bs' -or \
+# -name .packlist -or \
+# -name perllocal.pod | xargs rm
+#find $PKG -depth -empty -exec rmdir {} \;
+#chmod -R +w $PKG
+#}