wok-4.x diff childsplay/receipt @ rev 7146

udhcpc6-fake: fix mod
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 06 16:12:17 2010 +0100 (2010-11-06)
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 Nov 06 16:12:17 2010 +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'|" \