wok-next view tuxmath/receipt @ rev 21467
updated tahoe-lafs (1.10.1 -> 1.13.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 12 17:47:20 2020 +0100 (2020-05-12) |
parents | d5aab818505e |
children | 13f780ae6111 |
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 sdl-dev librsvg-dev sdl-image-dev \
16 sdl-mixer-dev sdl-ttf-dev sdl-net-dev sdl-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 sdl librsvg sdl-image sdl-mixer sdl-ttf \
38 sdl-net sdl-pango"
39 TAGS="education"
40 }