wok view tuxmath/receipt @ rev 21099
updated laptop-mode-tools again (1.60 -> 1.72.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 18 16:26:35 2019 +0100 (2019-03-18) |
parents | ac2ee8823dfa |
children | 612b5be4bfc5 |
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="https://alioth-archive.debian.org/releases/tux4kids/TuxMath-Source/"
12 WGET_URL="https://alioth.debian.org/frs/download.php/3571/$TARBALL"
14 DEPENDS="libt4k_common libsdl librsvg libsdl-image libsdl-mixer libsdl-ttf \
15 libsdl-net libsdl-pango"
16 BUILD_DEPENDS="libt4k_common-dev libsdl-dev librsvg-dev libsdl-image-dev \
17 libsdl-mixer-dev libsdl-ttf-dev libsdl-net-dev libsdl-pango-dev wget"
18 TAGS="education"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 #patch -p1 -i $stuff/SDL_extras.c.patch
24 ./configure LIBS="-lt4k_common" \
25 --prefix=/usr \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR 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 $install/usr/bin $fs/usr
36 cp -a $install/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 $install/usr/share/locale/$lang/LC_MESSAGES/tuxmath.mo \
41 $fs/usr/share/locale/$lang/LC_MESSAGES
42 done
43 }