wok-current annotate tuxtype/receipt @ rev 3425

Update deps /libSDL/libsdl/
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jun 13 12:19:10 2009 +0200 (2009-06-13)
parents 55a59aa123da
children 74734598921b
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"
pankso@3425 12 DEPENDS="libsdl libsdl-image libsdl-mixer libsdl-ttf"
pankso@3425 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