wok-current view tuxmath/receipt @ rev 8747
Up: tazwok-experimental 0.0.7.2
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 20 03:18:35 2011 +0100 (2011-02-20) |
parents | e8024c01fc47 |
children | 940b5937e496 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tuxmath"
4 SOURCE="tuxmath_w_fonts"
5 VERSION="1.7.2"
6 CATEGORY="games"
7 SHORT_DESC="Arcade game that helps kids practice their math facts."
8 MAINTAINER="claudinei@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://tux4kids.alioth.debian.org"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="libsdl libsdl-image libsdl-mixer libsdl-ttf"
13 BUILD_DEPENDS="libsdl libsdl-dev libsdl-image libsdl-image-dev \
14 libsdl-mixer libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev"
15 TAGS="education"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 patch -p1 -i ../stuff/SDL_extras.c.patch
23 ./configure \
24 --prefix=/usr \
25 --without-sdlpango \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr $fs/usr/share
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/share/tuxmath $fs/usr/share
38 for lang in de es fr pt_BR zh_CN; do
39 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
40 cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/tuxmath.mo \
41 $fs/usr/share/locale/$lang/LC_MESSAGES
42 done
43 }