# HG changeset patch # User Claudinei Pereira # Date 1244763648 0 # Node ID 2d4075e9138deea98f8881566033d02439566d9f # Parent a3082d29870cf27b6fbc4077c9c8ca1588fbc48d Ren: pygame -> python-pygame diff -r a3082d29870c -r 2d4075e9138d pygame/receipt --- a/pygame/receipt Thu Jun 11 23:12:24 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -# 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 -} - diff -r a3082d29870c -r 2d4075e9138d python-pygame/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pygame/receipt Thu Jun 11 23:40:48 2009 +0000 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="python-pygame" +SOURCE="pygame" +VERSION="1.8.1release" +CATEGORY="development" +SHORT_DESC="Python game development." +MAINTAINER="claudinei@slitaz.org" +TARBALL="$SOURCE-$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 +} +