wok-current diff python-pygame/receipt @ rev 9489
Up: xterm to 269.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Apr 05 14:40:16 2011 +0000 (2011-04-05) |
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 Tue Apr 05 14:40:16 2011 +0000 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.