wok annotate pygame/receipt @ rev 3376

Add: python-cherrypy
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jun 12 02:24:09 2009 +0200 (2009-06-12)
parents
children
rev   line source
claudinei@3339 1 # SliTaz package receipt.
claudinei@3339 2
claudinei@3339 3 PACKAGE="pygame"
claudinei@3339 4 VERSION="1.8.1release"
claudinei@3339 5 CATEGORY="development"
claudinei@3339 6 SHORT_DESC="Python game development."
claudinei@3339 7 MAINTAINER="claudinei@slitaz.org"
claudinei@3339 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
claudinei@3339 9 WEB_SITE="http://www.pygame.org"
claudinei@3339 10 WGET_URL="$WEB_SITE/ftp/$TARBALL"
claudinei@3339 11 DEPENDS="python libSDL libsdl-image libsdl-mixer libsdl-ttf numpy libsmpeg"
claudinei@3339 12 BUILD_DEPENDS="python python-dev numpy libSDL libSDL-dev libsdl-image \
claudinei@3339 13 libsdl-image-dev libsdl-mixer libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev \
claudinei@3339 14 libsmpeg libsmpeg-dev"
claudinei@3339 15
claudinei@3339 16 # Rules to configure and make the package.
claudinei@3339 17 compile_rules()
claudinei@3339 18 {
claudinei@3339 19 cd $src
claudinei@3339 20 python setup.py build &&
claudinei@3339 21 python setup.py install --root=$PWD/_pkg
claudinei@3339 22 }
claudinei@3339 23
claudinei@3339 24 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3339 25 genpkg_rules()
claudinei@3339 26 {
claudinei@3339 27 mkdir -p $fs/usr
claudinei@3339 28 cp -a $_pkg/usr/lib $fs/usr
claudinei@3339 29 chmod 644 $fs/usr/lib/python2.5/site-packages/pygame/freesansbold.ttf
claudinei@3339 30 cp -a $_pkg/usr/include $fs/usr
claudinei@3339 31 }
claudinei@3339 32