wok-6.x diff newt/receipt @ rev 5615

Fix: itaka category
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 26 09:56:24 2010 +0200 (2010-05-26)
parents d4b161735a3e
children a40238673a42
line diff
     1.1 --- a/newt/receipt	Mon Mar 16 22:26:55 2009 +0000
     1.2 +++ b/newt/receipt	Wed May 26 09:56:24 2010 +0200
     1.3 @@ -19,8 +19,12 @@
     1.4  	# Fixe group/owner
     1.5  	chown -R root.root $src
     1.6  
     1.7 -	sed -i -e "s/python2.4/$(ls -d /usr/lib/python*/ | sed 's|/usr/lib/\(.*\)/|\1|')" \
     1.8 -	       -e "s/tcl8.4/$(ls /usr/lib/libtcl*.so | sed 's|/usr/lib/lib\(.*\).so|\1|')/" \
     1.9 +	python=$(ls -d /usr/lib/python*/ | sed 's|/usr/lib/\(.*\)/|\1|')
    1.10 +	tcl=$(ls /usr/lib/libtcl*.so | sed 's|/usr/lib/lib\(.*\).so|\1|')
    1.11 +
    1.12 +	echo "Patching for $python and $tcl..."
    1.13 +	sed -i -e "s/python2.4/$python/" \
    1.14 +		-e "s/tcl8.4/$tcl/" \
    1.15  	     Makefile.in
    1.16  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.17  	--mandir=/usr/share/man $CONFIGURE_ARGS &&