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