wok-next view tuxmath/receipt @ rev 16000

lighttpd: fic typo in HOST_ARCH
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 02 19:09:41 2014 +0100 (2014-03-02)
parents 6ed98834e3eb
children ac2ee8823dfa
line source
1 # SliTaz package receipt.
3 PACKAGE="tuxmath"
4 SOURCE="tuxmath_w_fonts"
5 VERSION="2.0.3"
6 CATEGORY="games"
7 SHORT_DESC="Arcade game that helps kids practice their math facts."
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="GPL3"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://tux4kids.alioth.debian.org"
12 WGET_URL="https://alioth.debian.org/frs/download.php/3571/$TARBALL"
13 DEPENDS="libt4k_common libsdl librsvg libsdl-image libsdl-mixer libsdl-ttf \
14 libsdl-net libsdl-pango"
15 BUILD_DEPENDS="libt4k_common-dev libsdl-dev librsvg-dev libsdl-image-dev \
16 libsdl-mixer-dev libsdl-ttf-dev libsdl-net-dev libsdl-pango-dev wget"
17 TAGS="education"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 #patch -p1 -i $stuff/SDL_extras.c.patch
25 ./configure LIBS="-lt4k_common" \
26 --prefix=/usr \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/tuxmath $fs/usr/share
39 for lang in de es fr pt_BR zh_CN; do
40 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
41 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/tuxmath.mo \
42 $fs/usr/share/locale/$lang/LC_MESSAGES
43 done
44 }