wok-6.x diff pygtk/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 | 1185a6cb9260 |
children | d0fa681cee8d |
line diff
1.1 --- a/pygtk/receipt Thu Jun 24 17:32:23 2010 +0200 1.2 +++ b/pygtk/receipt Sat Oct 09 15:31:15 2010 +0200 1.3 @@ -30,6 +30,7 @@ 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 }