wok-stable view tuxtype/receipt @ rev 3906

moc: fix depends
author Paul Issott <paul@slitaz.org>
date Sun Aug 16 19:09:54 2009 +0000 (2009-08-16)
parents 55a59aa123da
children 74734598921b
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 }