# HG changeset patch # User Claudinei Pereira # Date 1244333009 0 # Node ID 55a59aa123da358b505aae8b272e46b4ae00c53e # Parent 8291d41cb00904fbc740c726b34c8ec68d9c07c2 Add: tuxtype diff -r 8291d41cb009 -r 55a59aa123da tuxtype/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tuxtype/receipt Sun Jun 07 00:03:29 2009 +0000 @@ -0,0 +1,42 @@ +# SliTaz package receipt. + +PACKAGE="tuxtype" +SOURCE="tuxtype_w_fonts" +VERSION="1.7.4" +CATEGORY="games" +SHORT_DESC="Educational typing tutor for kids." +MAINTAINER="claudinei@slitaz.org" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://tux4kids.alioth.debian.org" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +DEPENDS="libSDL libsdl-image libsdl-mixer libsdl-ttf" +BUILD_DEPENDS="libSDL libSDL-dev libsdl-image libsdl-image-dev \ +libsdl-mixer libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev" + + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --without-sdlpango \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share/tuxtype $fs/usr/share + + for lang in de es fr pt; do + mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES + cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/tuxtype.mo \ + $fs/usr/share/locale/$lang/LC_MESSAGES + done +} + diff -r 8291d41cb009 -r 55a59aa123da tuxtype/stuff/tuxtype.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tuxtype/stuff/tuxtype.desktop Sun Jun 07 00:03:29 2009 +0000 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=Tuxtype +Exec=tuxtype +Icon=tuxtype.png +Terminal=false +Categories=Application;Game; diff -r 8291d41cb009 -r 55a59aa123da tuxtype/stuff/tuxtype.png Binary file tuxtype/stuff/tuxtype.png has changed