wok-next diff childsplay/receipt @ rev 9197

spidermonkey: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 10 11:24:48 2011 +0100 (2011-03-10)
parents 5921dc28d8c6
children cc669956b01c
line diff
     1.1 --- a/childsplay/receipt	Sat Oct 09 15:31:15 2010 +0200
     1.2 +++ b/childsplay/receipt	Thu Mar 10 11:24:48 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'|" \