wok-next view tuxmath/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 8e1b2a143eb3 |
children | 0f2575775b2d |
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 WEB_SITE="https://alioth-archive.debian.org/releases/tux4kids/TuxMath-Source/"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://alioth.debian.org/frs/download.php/3571/$TARBALL"
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"
18 compile_rules() {
19 ./configure \
20 LIBS="-lt4k_common" \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$install install
25 }
27 genpkg_rules() {
28 mkdir -p $fs/usr $fs/usr/share
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/share/tuxmath $fs/usr/share
32 for lang in de es fr pt_BR zh_CN; do
33 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
34 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/tuxmath.mo \
35 $fs/usr/share/locale/$lang/LC_MESSAGES
36 done
37 DEPENDS="libt4k_common libsdl librsvg libsdl-image libsdl-mixer libsdl-ttf \
38 libsdl-net libsdl-pango"
39 TAGS="education"
40 }