wok-6.x view tuxmath/receipt @ rev 3411
Ren: numpy -> python-numpy & update receipts of packages that depends on it
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Fri Jun 12 21:58:05 2009 +0000 (2009-06-12) |
parents | |
children | e8024c01fc47 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tuxmath"
4 SOURCE="tuxmath_w_fonts"
5 VERSION="1.7.2"
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="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="libSDL libsdl-image libsdl-mixer libsdl-ttf"
13 BUILD_DEPENDS="libSDL libSDL-dev libsdl-image libsdl-image-dev \
14 libsdl-mixer libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 patch -p1 -i ../stuff/SDL_extras.c.patch
22 ./configure \
23 --prefix=/usr \
24 --without-sdlpango \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg 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 $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/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 $_pkg/usr/share/locale/$lang/LC_MESSAGES/tuxmath.mo \
40 $fs/usr/share/locale/$lang/LC_MESSAGES
41 done
42 }