wok diff python-pygame/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 | f3327707164a |
children | d0fa681cee8d |
line diff
1.1 --- a/python-pygame/receipt Sun Feb 28 17:01:48 2010 +0100 1.2 +++ b/python-pygame/receipt Sat Oct 09 15:31:15 2010 +0200 1.3 @@ -26,9 +26,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 1.9 cp -a $_pkg/usr/lib $fs/usr 1.10 - chmod 644 $fs/usr/lib/python2.5/site-packages/pygame/freesansbold.ttf 1.11 + chmod 644 $fs/usr/lib/$PYTHON_LIB/site-packages/pygame/freesansbold.ttf 1.12 cp -a $_pkg/usr/include $fs/usr 1.13 } 1.14