wok-current rev 6901

Up: python-pygame to 1.9.1release.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 21 11:10:13 2010 +0000 (2010-10-21)
parents ea3c91682de8
children 45f312f988e6
files python-pygame/receipt
line diff
     1.1 --- a/python-pygame/receipt	Thu Oct 21 10:55:34 2010 +0000
     1.2 +++ b/python-pygame/receipt	Thu Oct 21 11:10:13 2010 +0000
     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.