wok-6.x diff perl/receipt @ rev 7105

Up: gtksourceview to 2.10.5.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Nov 03 06:25:06 2010 +0000 (2010-11-03)
parents c161b9c835d2
children 49e1e0f01970
line diff
     1.1 --- a/perl/receipt	Fri Jul 09 20:33:27 2010 +0200
     1.2 +++ b/perl/receipt	Wed Nov 03 06:25:06 2010 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl"
     1.7 -VERSION="5.10.0"
     1.8 +VERSION="5.12.2"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Full Perl interpreter and modules."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -19,6 +19,20 @@
    1.13  	./configure.gnu --prefix=/usr &&
    1.14  	make -j 4 &&
    1.15  	make DESTDIR=$PWD/_pkg install
    1.16 +
    1.17 +	# make microperl here
    1.18 +	# patch to fix compiling microperl
    1.19 +	patch -p0 -i ../stuff/miniperlmain.patch
    1.20 +	# Install in /usr (default is /usr/local).
    1.21 +	sed -i s/'usr\/local'/'usr'/ uconfig.sh
    1.22 +	# Sed to search mods in /usr/lib/perl5.
    1.23 +	sed -i s/'perl5\/5.12'/'perl5'/ uconfig.sh
    1.24 +	# Optimisation.
    1.25 +	sed -i s/'unknown'/'i486-pc-linux-gnu'/ uconfig.sh
    1.26 +	# Make it!
    1.27 +	make -f Makefile.micro regen_uconfig &&
    1.28 +	make -f Makefile.micro &&
    1.29 +	strip microperl
    1.30  }
    1.31  
    1.32  # Rules to gen a SliTaz package suitable for Tazpkg.