wok-6.x annotate tuxtype/receipt @ rev 8996

asterisk: update BUILD_DEPENDS (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 03 13:38:38 2011 +0100 (2011-03-03)
parents 74734598921b
children 0b2b9d1540d7
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@4676 5 VERSION="1.8.0"
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"
claudinei@4676 13 BUILD_DEPENDS="$DEPENDS libsdl-dev libsdl-image-dev libsdl-mixer-dev \
claudinei@4676 14 libsdl-ttf-dev"
jozee@4973 15 TAGS="education"
claudinei@3313 16
claudinei@3313 17
claudinei@3313 18 # Rules to configure and make the package.
claudinei@3313 19 compile_rules()
claudinei@3313 20 {
claudinei@3313 21 cd $src
claudinei@3313 22 ./configure \
claudinei@3313 23 --prefix=/usr \
claudinei@4676 24 --localstatedir=/var/games \
claudinei@3313 25 --without-sdlpango \
claudinei@4676 26 --without-rsvg \
claudinei@3313 27 $CONFIGURE_ARGS &&
claudinei@3313 28 make &&
claudinei@3313 29 make DESTDIR=$PWD/_pkg install
claudinei@3313 30 }
claudinei@3313 31
claudinei@3313 32 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3313 33 genpkg_rules()
claudinei@3313 34 {
claudinei@4676 35 mkdir -p $fs/usr/share $fs/var/games/tuxtype/words
claudinei@3313 36 cp -a $_pkg/usr/bin $fs/usr
claudinei@3313 37 cp -a $_pkg/usr/share/tuxtype $fs/usr/share
claudinei@3313 38
claudinei@3313 39 for lang in de es fr pt; do
claudinei@3313 40 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
claudinei@3313 41 cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/tuxtype.mo \
claudinei@3313 42 $fs/usr/share/locale/$lang/LC_MESSAGES
claudinei@3313 43 done
claudinei@3313 44 }
claudinei@3313 45