wok rev 3313

Add: tuxtype
author Claudinei Pereira <claudinei@slitaz.org>
date Sun Jun 07 00:03:29 2009 +0000 (2009-06-07)
parents 8291d41cb009
children 98e87512d34d
files tuxtype/receipt tuxtype/stuff/tuxtype.desktop tuxtype/stuff/tuxtype.png
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tuxtype/receipt	Sun Jun 07 00:03:29 2009 +0000
     1.3 @@ -0,0 +1,42 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="tuxtype"
     1.7 +SOURCE="tuxtype_w_fonts"
     1.8 +VERSION="1.7.4"
     1.9 +CATEGORY="games"
    1.10 +SHORT_DESC="Educational typing tutor for kids."
    1.11 +MAINTAINER="claudinei@slitaz.org"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://tux4kids.alioth.debian.org"
    1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15 +DEPENDS="libSDL libsdl-image libsdl-mixer libsdl-ttf"
    1.16 +BUILD_DEPENDS="libSDL libSDL-dev libsdl-image libsdl-image-dev \
    1.17 +libsdl-mixer libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev"
    1.18 +
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src
    1.24 +	./configure \
    1.25 +		--prefix=/usr \
    1.26 +		--without-sdlpango \
    1.27 +		$CONFIGURE_ARGS &&
    1.28 +	make &&
    1.29 +	make DESTDIR=$PWD/_pkg install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	mkdir -p $fs/usr $fs/usr/share
    1.36 +	cp -a $_pkg/usr/bin $fs/usr
    1.37 +	cp -a $_pkg/usr/share/tuxtype $fs/usr/share
    1.38 +
    1.39 +	for lang in de es fr pt; do
    1.40 +		mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
    1.41 +		cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/tuxtype.mo \
    1.42 +			$fs/usr/share/locale/$lang/LC_MESSAGES
    1.43 +	done
    1.44 +}
    1.45 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/tuxtype/stuff/tuxtype.desktop	Sun Jun 07 00:03:29 2009 +0000
     2.3 @@ -0,0 +1,8 @@
     2.4 +[Desktop Entry]
     2.5 +Type=Application
     2.6 +Encoding=UTF-8
     2.7 +Name=Tuxtype
     2.8 +Exec=tuxtype
     2.9 +Icon=tuxtype.png
    2.10 +Terminal=false
    2.11 +Categories=Application;Game;
     3.1 Binary file tuxtype/stuff/tuxtype.png has changed