# HG changeset patch # User Claudinei Pereira # Date 1244684795 0 # Node ID 61d9770b71c0ae50a7ef9213019cb6dfd9f955ac # Parent 9886ef43f57a11f836fffce49c554dad7479aaf5 Add: pygame (1.8.1) diff -r 9886ef43f57a -r 61d9770b71c0 pygame/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pygame/receipt Thu Jun 11 01:46:35 2009 +0000 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="pygame" +VERSION="1.8.1release" +CATEGORY="development" +SHORT_DESC="Python game development." +MAINTAINER="claudinei@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.pygame.org" +WGET_URL="$WEB_SITE/ftp/$TARBALL" +DEPENDS="python libSDL libsdl-image libsdl-mixer libsdl-ttf numpy libsmpeg" +BUILD_DEPENDS="python python-dev numpy libSDL libSDL-dev libsdl-image \ +libsdl-image-dev libsdl-mixer libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev \ +libsmpeg libsmpeg-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py build && + python setup.py install --root=$PWD/_pkg +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/lib $fs/usr + chmod 644 $fs/usr/lib/python2.5/site-packages/pygame/freesansbold.ttf + cp -a $_pkg/usr/include $fs/usr +} +