wok-4.x rev 3339

Add: pygame (1.8.1)
author Claudinei Pereira <claudinei@slitaz.org>
date Thu Jun 11 01:46:35 2009 +0000 (2009-06-11)
parents 9886ef43f57a
children 1254f8783b56
files pygame/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pygame/receipt	Thu Jun 11 01:46:35 2009 +0000
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pygame"
     1.7 +VERSION="1.8.1release"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Python game development."
    1.10 +MAINTAINER="claudinei@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://www.pygame.org"
    1.13 +WGET_URL="$WEB_SITE/ftp/$TARBALL"
    1.14 +DEPENDS="python libSDL libsdl-image libsdl-mixer libsdl-ttf numpy libsmpeg"
    1.15 +BUILD_DEPENDS="python python-dev numpy libSDL libSDL-dev libsdl-image \
    1.16 +libsdl-image-dev libsdl-mixer libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev \
    1.17 +libsmpeg libsmpeg-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	python setup.py build &&
    1.24 +	python setup.py install --root=$PWD/_pkg
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr
    1.31 +	cp -a $_pkg/usr/lib $fs/usr
    1.32 +	chmod 644 $fs/usr/lib/python2.5/site-packages/pygame/freesansbold.ttf
    1.33 +	cp -a $_pkg/usr/include $fs/usr
    1.34 +}
    1.35 +