wok-6.x view tuxmath/receipt @ rev 15090
pinentry: add bdeps...
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 21:20:52 2013 +0000 (2013-08-13) |
parents | 85efaaf0bef2 |
children | 6ed98834e3eb |
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 wget"
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 }