wok diff tuxtype/receipt @ rev 3353

Up: util-linux-ng (2.15.1)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jun 11 17:33:14 2009 +0200 (2009-06-11)
parents
children e8024c01fc47
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tuxtype/receipt	Thu Jun 11 17:33:14 2009 +0200
     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 +