wok-4.x diff python-pygame/receipt @ rev 10498
evas: up to fix e17 build (1.0.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 25 14:00:08 2011 +0200 (2011-05-25) |
parents | 788424414853 |
children | 29d1eb1f4fd6 |
line diff
1.1 --- a/python-pygame/receipt Thu Oct 21 11:10:13 2010 +0000 1.2 +++ b/python-pygame/receipt Wed May 25 14:00:08 2011 +0200 1.3 @@ -11,17 +11,14 @@ 1.4 WGET_URL="$WEB_SITE/ftp/$TARBALL" 1.5 DEPENDS="python libsdl libsdl-image libsdl-mixer libsdl-ttf python-numpy \ 1.6 libsmpeg gcc-lib-base" 1.7 -BUILD_DEPENDS="python python-dev python-numpy libsdl libsdl-dev libsdl-image \ 1.8 -libsdl-image-dev libsdl-mixer libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev \ 1.9 -libsmpeg libsmpeg-dev" 1.10 1.11 # Rules to configure and make the package. 1.12 compile_rules() 1.13 { 1.14 cd $src 1.15 - patch -Np0 -i ../stuff/config.patch 1.16 + patch -Np0 -i $stuff/config.patch 1.17 python config.py -auto && 1.18 - python setup.py install --root=$PWD/_pkg 1.19 + python setup.py install --root=$DESTDIR 1.20 } 1.21 1.22 # Rules to gen a SliTaz package suitable for Tazpkg. 1.23 @@ -32,7 +29,6 @@ 1.24 cp -a $_pkg/usr/lib $fs/usr 1.25 chmod 644 $fs/usr/lib/$PYTHON_LIB/site-packages/pygame/freesansbold.ttf 1.26 cp -a $_pkg/usr/include $fs/usr 1.27 - find $fs/usr/lib/$PYTHON_LIB/ -name "*.pyc" -delete 1.28 } 1.29 1.30 # Remove old package.