wok diff pycairo/receipt @ rev 6592

remove hard coded python2.5
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 09 15:31:15 2010 +0200 (2010-10-09)
parents af9536ce31f7
children d0fa681cee8d
line diff
     1.1 --- a/pycairo/receipt	Sat Jan 02 10:00:03 2010 +0100
     1.2 +++ b/pycairo/receipt	Sat Oct 09 15:31:15 2010 +0200
     1.3 @@ -25,7 +25,8 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 +	PYTHON_LIB=$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
     1.8  	mkdir -p $fs/usr/lib
     1.9 -	cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib
    1.10 +	cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
    1.11  }
    1.12