wok view tuxtype/receipt @ rev 4676

Up: tuxtype (1.8.0)
author Claudinei Pereira <claudinei@slitaz.org>
date Tue Dec 29 19:40:17 2009 +0000 (2009-12-29)
parents e8024c01fc47
children 866fa2493b1b
line source
1 # SliTaz package receipt.
3 PACKAGE="tuxtype"
4 SOURCE="tuxtype_w_fonts"
5 VERSION="1.8.0"
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="$DEPENDS libsdl-dev libsdl-image-dev libsdl-mixer-dev \
14 libsdl-ttf-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --localstatedir=/var/games \
24 --without-sdlpango \
25 --without-rsvg \
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/share $fs/var/games/tuxtype/words
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/share/tuxtype $fs/usr/share
38 for lang in de es fr pt; do
39 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
40 cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/tuxtype.mo \
41 $fs/usr/share/locale/$lang/LC_MESSAGES
42 done
43 }