wok-6.x view childsplay/receipt @ rev 3354
Childsplay: fix stuff/INSTALL.sh.patch
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Thu Jun 11 12:55:35 2009 +0000 (2009-06-11) |
parents | |
children | 5d0039136362 |
line source
1 # SliTaz package receipt.
3 PACKAGE="childsplay"
4 VERSION="0.90.2"
5 CATEGORY="games"
6 SHORT_DESC="Python educational game."
7 MAINTAINER="claudinei@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tgz"
9 WEB_SITE="http://www.childschool.org"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 DEPENDS="python pygame"
12 BUILD_DEPENDS="python python-dev pygame 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 patch -p1 -i ../stuff/INSTALL.sh.patch
21 sh INSTALL.sh
22 sed -i "s/\/usr\/local/\/usr/" $src/_pkg/usr/bin/childsplay
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr $fs/usr/share $fs/var
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib $fs/usr
31 cp -a $_pkg/usr/share/assetml $fs/usr/share
32 cp -a $_pkg/usr/share/childsplay $fs/usr/share
33 cp -a $_pkg/var/games $fs/var
35 for lang in de es fr pt; do
36 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
37 cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/childsplay.mo \
38 $fs/usr/share/locale/$lang/LC_MESSAGES
39 done
40 }