wok-current diff python-pygame/receipt @ rev 3386

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