wok-next diff python-pygame/receipt @ rev 12700

Fluxbox: dont have transparency by default
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 03 11:43:51 2012 +0200 (2012-05-03)
parents 4b5d992717d2
children e8f790529aae
line diff
     1.1 --- a/python-pygame/receipt	Tue Jun 07 21:56:16 2011 +0200
     1.2 +++ b/python-pygame/receipt	Thu May 03 11:43:51 2012 +0200
     1.3 @@ -4,10 +4,10 @@
     1.4  SOURCE="pygame"
     1.5  VERSION="1.9.1release"
     1.6  CATEGORY="development"
     1.7 -SHORT_DESC="Python game development."
     1.8 +SHORT_DESC="Python game library."
     1.9  MAINTAINER="claudinei@slitaz.org"
    1.10  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.11 -WEB_SITE="http://www.pygame.org"
    1.12 +WEB_SITE="http://www.pygame.org/"
    1.13  WGET_URL="$WEB_SITE/ftp/$TARBALL"
    1.14  
    1.15  DEPENDS="python libsdl libsdl-image libsdl-mixer libsdl-ttf python-numpy \
    1.16 @@ -29,13 +29,15 @@
    1.17  {
    1.18  	PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
    1.19  	mkdir -p $fs/usr
    1.20 -	cp -a $_pkg/usr/lib $fs/usr
    1.21 +	cp -a $install/usr/lib $fs/usr
    1.22  	chmod 644 $fs/usr/lib/$PYTHON_LIB/site-packages/pygame/freesansbold.ttf
    1.23 -	cp -a $_pkg/usr/include $fs/usr
    1.24 +	# examples and tests in python-pygame-dev
    1.25 +	rm -rf $fs/usr/lib/$PYTHON_LIB/site-packages/pygame/examples
    1.26 +	rm -rf $fs/usr/lib/$PYTHON_LIB/site-packages/pygame/tests
    1.27  }
    1.28  
    1.29  # Remove old package.
    1.30  post_install()
    1.31  {
    1.32 -	rm -rf $1/var/lib/tazpkg/installed/pygame
    1.33 +	rm -rf $1/var/lib/tazpkg/installed/pygame/examples
    1.34  }