wok diff python-pygame/receipt @ rev 10177

Up: openexr to 1.7.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 22:24:12 2011 +0000 (2011-05-20)
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	Fri May 20 22:24:12 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.