wok-6.x view tuxmath/receipt @ rev 15360

python-numpy: hide conftest.c errors
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 01 17:16:06 2013 +0000 (2013-10-01)
parents 7a95f4a78b93
children 191b99ca9dc2
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 \
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 }