wok annotate tuxtype/receipt @ rev 3313
Add: tuxtype
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Sun Jun 07 00:03:29 2009 +0000 (2009-06-07) |
parents | |
children | e8024c01fc47 |
rev | line source |
---|---|
claudinei@3313 | 1 # SliTaz package receipt. |
claudinei@3313 | 2 |
claudinei@3313 | 3 PACKAGE="tuxtype" |
claudinei@3313 | 4 SOURCE="tuxtype_w_fonts" |
claudinei@3313 | 5 VERSION="1.7.4" |
claudinei@3313 | 6 CATEGORY="games" |
claudinei@3313 | 7 SHORT_DESC="Educational typing tutor for kids." |
claudinei@3313 | 8 MAINTAINER="claudinei@slitaz.org" |
claudinei@3313 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3313 | 10 WEB_SITE="http://tux4kids.alioth.debian.org" |
claudinei@3313 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
claudinei@3313 | 12 DEPENDS="libSDL libsdl-image libsdl-mixer libsdl-ttf" |
claudinei@3313 | 13 BUILD_DEPENDS="libSDL libSDL-dev libsdl-image libsdl-image-dev \ |
claudinei@3313 | 14 libsdl-mixer libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev" |
claudinei@3313 | 15 |
claudinei@3313 | 16 |
claudinei@3313 | 17 # Rules to configure and make the package. |
claudinei@3313 | 18 compile_rules() |
claudinei@3313 | 19 { |
claudinei@3313 | 20 cd $src |
claudinei@3313 | 21 ./configure \ |
claudinei@3313 | 22 --prefix=/usr \ |
claudinei@3313 | 23 --without-sdlpango \ |
claudinei@3313 | 24 $CONFIGURE_ARGS && |
claudinei@3313 | 25 make && |
claudinei@3313 | 26 make DESTDIR=$PWD/_pkg install |
claudinei@3313 | 27 } |
claudinei@3313 | 28 |
claudinei@3313 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3313 | 30 genpkg_rules() |
claudinei@3313 | 31 { |
claudinei@3313 | 32 mkdir -p $fs/usr $fs/usr/share |
claudinei@3313 | 33 cp -a $_pkg/usr/bin $fs/usr |
claudinei@3313 | 34 cp -a $_pkg/usr/share/tuxtype $fs/usr/share |
claudinei@3313 | 35 |
claudinei@3313 | 36 for lang in de es fr pt; do |
claudinei@3313 | 37 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES |
claudinei@3313 | 38 cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/tuxtype.mo \ |
claudinei@3313 | 39 $fs/usr/share/locale/$lang/LC_MESSAGES |
claudinei@3313 | 40 done |
claudinei@3313 | 41 } |
claudinei@3313 | 42 |