wok view tuxmath/receipt @ rev 11868
up libogg(-dev) 1.3.0
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Mon Feb 27 13:13:39 2012 -0800 (2012-02-27) |
parents | 940b5937e496 |
children | 7a95f4a78b93 |
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 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://tux4kids.alioth.debian.org"
11 WGET_URL="https://alioth.debian.org/frs/download.php/3571/$TARBALL"
12 DEPENDS="libt4k_common libsdl librsvg libsdl-image libsdl-mixer libsdl-ttf \
13 libsdl-net libsdl-pango"
14 BUILD_DEPENDS="libt4k_common-dev libsdl-dev librsvg-dev libsdl-image-dev \
15 libsdl-mixer-dev libsdl-ttf-dev libsdl-net-dev libsdl-pango-dev"
16 TAGS="education"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 #patch -p1 -i $stuff/SDL_extras.c.patch
24 ./configure \
25 --prefix=/usr \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg 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 $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/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 $_pkg/usr/share/locale/$lang/LC_MESSAGES/tuxmath.mo \
41 $fs/usr/share/locale/$lang/LC_MESSAGES
42 done
43 }