wok diff gnome-menus/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 b0bece4caf7e
children d0fa681cee8d
line diff
     1.1 --- a/gnome-menus/receipt	Fri Sep 10 15:44:02 2010 +0000
     1.2 +++ b/gnome-menus/receipt	Sat Oct 09 15:31:15 2010 +0200
     1.3 @@ -27,9 +27,10 @@
     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/*.so* $fs/usr/lib
    1.10 -	cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib
    1.11 -	rm $fs/usr/lib/python2.5/site-packages/*.*a
    1.12 +	cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
    1.13 +	rm $fs/usr/lib/$PYTHON_LIB/site-packages/*.*a
    1.14  }
    1.15