wok-next view tuxmath/receipt @ rev 21682
updated gifsicle (1.91 -> 1.92)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 29 15:15:42 2020 +0100 (2020-06-29) |
parents | 0f2575775b2d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="tuxmath"
4 VERSION="2.0.3"
5 CATEGORY="games"
6 TAGS="education"
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 SOURCE="tuxmath_w_fonts"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://alioth-archive.debian.org/releases/tux4kids/TuxMath-Source/TuxMath-Source-$VERSION/$TARBALL"
16 BUILD_DEPENDS="librsvg-dev libsdl-dev libsdl-image-dev libsdl-mixer-dev
17 libsdl-net-dev libsdl-pango-dev libsdl-ttf-dev libt4k_common-dev "
19 compile_rules()
20 {
21 ./configure \
22 LIBS="-lt4k_common" \
23 --prefix=/usr \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$install install
27 }
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 mkdir -p $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
38 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
44 DEPENDS="librsvg libsdl libsdl-image libsdl-mixer libsdl-net libsdl-pango
45 libsdl-ttf libt4k_common"
46 }