wok-current rev 6585
Up: perl, perl-core, microperl to 5.12.2. Added patch for microperl to compile. Also microperl is now compile in perl receipt.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Oct 09 02:53:18 2010 +0000 (2010-10-09) |
parents | 55448c722f2d |
children | 2614c1e9d774 |
files | microperl/receipt perl-core/receipt perl/receipt perl/stuff/miniperlmain.patch |
line diff
1.1 --- a/microperl/receipt Fri Oct 08 23:49:12 2010 +0000 1.2 +++ b/microperl/receipt Sat Oct 09 02:53:18 2010 +0000 1.3 @@ -1,32 +1,12 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="microperl" 1.7 -VERSION="5.10.0" 1.8 +VERSION="5.12.2" 1.9 CATEGORY="development" 1.10 SHORT_DESC="A micro version of Perl." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 +WEB_SITE="http://www.perl.org/" 1.13 WANTED="perl" 1.14 -WEB_SITE="http://www.perl.org/" 1.15 - 1.16 -# Rules to configure and make the package. 1.17 -# 1.18 -# Microperl is a special package. We need to sed uconfig.sh and 1.19 -# regenerate the Makefile.micro to modify the configuration. 1.20 -# 1.21 -compile_rules() 1.22 -{ 1.23 - cd $src 1.24 - # Install in /usr (default is /usr/local). 1.25 - sed -i s/'usr\/local'/'usr'/ uconfig.sh 1.26 - # Sed to search mods in /usr/lib/perl5. 1.27 - sed -i s/'perl5\/5.9'/'perl5'/ uconfig.sh 1.28 - # Optimisation. 1.29 - sed -i s/'unknown'/'i486-pc-linux-gnu'/ uconfig.sh 1.30 - # Make it! 1.31 - make -f Makefile.micro regen_uconfig && 1.32 - make -f Makefile.micro && 1.33 - strip microperl 1.34 -} 1.35 1.36 # Rules to gen a SliTaz package suitable for Tazpkg. 1.37 genpkg_rules()
2.1 --- a/perl-core/receipt Fri Oct 08 23:49:12 2010 +0000 2.2 +++ b/perl-core/receipt Sat Oct 09 02:53:18 2010 +0000 2.3 @@ -1,7 +1,7 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="perl-core" 2.7 -VERSION="5.10.0" 2.8 +VERSION="5.12.2" 2.9 CATEGORY="development" 2.10 SHORT_DESC="Minimal Perl interpreter." 2.11 MAINTAINER="erjo@slitaz.org"
3.1 --- a/perl/receipt Fri Oct 08 23:49:12 2010 +0000 3.2 +++ b/perl/receipt Sat Oct 09 02:53:18 2010 +0000 3.3 @@ -1,7 +1,7 @@ 3.4 # SliTaz package receipt. 3.5 3.6 PACKAGE="perl" 3.7 -VERSION="5.10.0" 3.8 +VERSION="5.12.2" 3.9 CATEGORY="development" 3.10 SHORT_DESC="Full Perl interpreter and modules." 3.11 MAINTAINER="pankso@slitaz.org" 3.12 @@ -19,6 +19,20 @@ 3.13 ./configure.gnu --prefix=/usr && 3.14 make -j 4 && 3.15 make DESTDIR=$PWD/_pkg install 3.16 + 3.17 + # make microperl here 3.18 + # patch to fix compiling microperl 3.19 + patch -p0 -i ../stuff/miniperlmain.patch 3.20 + # Install in /usr (default is /usr/local). 3.21 + sed -i s/'usr\/local'/'usr'/ uconfig.sh 3.22 + # Sed to search mods in /usr/lib/perl5. 3.23 + sed -i s/'perl5\/5.12'/'perl5'/ uconfig.sh 3.24 + # Optimisation. 3.25 + sed -i s/'unknown'/'i486-pc-linux-gnu'/ uconfig.sh 3.26 + # Make it! 3.27 + make -f Makefile.micro regen_uconfig && 3.28 + make -f Makefile.micro && 3.29 + strip microperl 3.30 } 3.31 3.32 # Rules to gen a SliTaz package suitable for Tazpkg.
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/perl/stuff/miniperlmain.patch Sat Oct 09 02:53:18 2010 +0000 4.3 @@ -0,0 +1,16 @@ 4.4 +--- miniperlmain.c.orig 4.5 ++++ miniperlmain.c 4.6 +@@ -117,13 +117,6 @@ 4.7 + if (!exitstatus) 4.8 + perl_run(my_perl); 4.9 + 4.10 +- /* Unregister our signal handler before destroying my_perl */ 4.11 +- for (i = 0; PL_sig_name[i]; i++) { 4.12 +- if (rsignal_state(PL_sig_num[i]) == (Sighandler_t) PL_csighandlerp) { 4.13 +- rsignal(PL_sig_num[i], (Sighandler_t) SIG_DFL); 4.14 +- } 4.15 +- } 4.16 +- 4.17 + exitstatus = perl_destruct(my_perl); 4.18 + 4.19 + perl_free(my_perl);