wok diff childsplay/receipt @ rev 9394

Up: slitaz-boot-scripts 4.1.1
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Mar 26 19:33:17 2011 +0100 (2011-03-26)
parents 5921dc28d8c6
children cc669956b01c
line diff
     1.1 --- a/childsplay/receipt	Sat Oct 09 15:31:15 2010 +0200
     1.2 +++ b/childsplay/receipt	Sat Mar 26 19:33:17 2011 +0100
     1.3 @@ -16,7 +16,7 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 -	PYTHON_LIB=$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
     1.8 +	PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
     1.9  	sed -i "s|PREFIX = '/usr/local'|PREFIX = '_pkg/usr'|" $src/setup.py
    1.10  	sed -i \
    1.11  "s|get_python_lib()|'_pkg', 'usr', 'lib', '$PYTHON_LIB', 'site-packages'|" \