summaryrefslogtreecommitdiffstats
path: root/perl/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-01-22 11:53:58 +0100
committerpiernov <piernov@piernov.org>2012-01-22 11:53:58 +0100
commit656378eb13dd8c1af44a368e7dfee3333eb055a2 (patch)
tree9707d7a6d1af19d5c1d8431821232ae81ce42d85 /perl/Pkgfile
parent9626427c1a1d9c292fc519810c13b9a8073e777f (diff)
parent8d576551b5c270c65fe06443b7295d73cc662064 (diff)
downloadnutyx-pakxe-656378eb13dd8c1af44a368e7dfee3333eb055a2.tar.gz
nutyx-pakxe-656378eb13dd8c1af44a368e7dfee3333eb055a2.tar.bz2
nutyx-pakxe-656378eb13dd8c1af44a368e7dfee3333eb055a2.tar.xz
nutyx-pakxe-656378eb13dd8c1af44a368e7dfee3333eb055a2.zip
Merged with http://kiao.no-ip.info/NuTyX/git/nutyx-pakxe → Repository splitted → nutyx-pakxe
Diffstat (limited to 'perl/Pkgfile')
-rwxr-xr-xperl/Pkgfile92
1 files changed, 92 insertions, 0 deletions
diff --git a/perl/Pkgfile b/perl/Pkgfile
new file mode 100755
index 000000000..4403ab2f6
--- /dev/null
+++ b/perl/Pkgfile
@@ -0,0 +1,92 @@
+# 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
+
+
+# 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.12.3
+release=2
+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
+}
+
+
+
+#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
+#}