wok-6.x diff python-pygame/receipt @ rev 9263
djmount: partial fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 15 10:40:04 2011 +0100 (2011-03-15) |
parents | d0fa681cee8d |
children | 5d9a6e5f6f88 |
line diff
1.1 --- a/python-pygame/receipt Sat Oct 09 17:19:46 2010 +0200 1.2 +++ b/python-pygame/receipt Tue Mar 15 10:40:04 2011 +0100 1.3 @@ -2,7 +2,7 @@ 1.4 1.5 PACKAGE="python-pygame" 1.6 SOURCE="pygame" 1.7 -VERSION="1.8.1release" 1.8 +VERSION="1.9.1release" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Python game development." 1.11 MAINTAINER="claudinei@slitaz.org" 1.12 @@ -19,7 +19,8 @@ 1.13 compile_rules() 1.14 { 1.15 cd $src 1.16 - python setup.py build && 1.17 + patch -Np0 -i ../stuff/config.patch 1.18 + python config.py -auto && 1.19 python setup.py install --root=$PWD/_pkg 1.20 } 1.21 1.22 @@ -31,6 +32,7 @@ 1.23 cp -a $_pkg/usr/lib $fs/usr 1.24 chmod 644 $fs/usr/lib/$PYTHON_LIB/site-packages/pygame/freesansbold.ttf 1.25 cp -a $_pkg/usr/include $fs/usr 1.26 + find $fs/usr/lib/$PYTHON_LIB/ -name "*.pyc" -delete 1.27 } 1.28 1.29 # Remove old package.