wok-6.x view tuxtype/receipt @ rev 3389
Ren: django -> python-django
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Thu Jun 11 23:56:06 2009 +0000 (2009-06-11) |
parents | |
children | e8024c01fc47 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tuxtype"
4 SOURCE="tuxtype_w_fonts"
5 VERSION="1.7.4"
6 CATEGORY="games"
7 SHORT_DESC="Educational typing tutor for kids."
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 ./configure \
22 --prefix=/usr \
23 --without-sdlpango \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr $fs/usr/share
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/share/tuxtype $fs/usr/share
36 for lang in de es fr pt; do
37 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
38 cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/tuxtype.mo \
39 $fs/usr/share/locale/$lang/LC_MESSAGES
40 done
41 }