wok view tuxtype/receipt @ rev 9287

xfsprogs: partial workaround for compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 16 18:30:53 2011 +0100 (2011-03-16)
parents 74734598921b
children 0b2b9d1540d7
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"
15 TAGS="education"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --localstatedir=/var/games \
25 --without-sdlpango \
26 --without-rsvg \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share $fs/var/games/tuxtype/words
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/share/tuxtype $fs/usr/share
39 for lang in de es fr pt; do
40 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
41 cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/tuxtype.mo \
42 $fs/usr/share/locale/$lang/LC_MESSAGES
43 done
44 }