wok-next view tuxmath/receipt @ rev 20678

Up clisp (2.50)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 15 02:59:03 2018 +0300 (2018-05-15)
parents d43bf7aae921
children 8e1b2a143eb3
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"
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"
18 TAGS="education"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure LIBS="-lt4k_common" \
24 --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/tuxmath $fs/usr/share
37 for lang in de es fr pt_BR zh_CN; do
38 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
39 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/tuxmath.mo \
40 $fs/usr/share/locale/$lang/LC_MESSAGES
41 done
42 }