wok-4.x annotate tuxtype/receipt @ rev 4892
Add: ncdu
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Feb 06 18:10:38 2010 +0000 (2010-02-06) |
parents | e8024c01fc47 |
children | 866fa2493b1b |
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" |
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@4676 | 23 --localstatedir=/var/games \ |
claudinei@3313 | 24 --without-sdlpango \ |
claudinei@4676 | 25 --without-rsvg \ |
claudinei@3313 | 26 $CONFIGURE_ARGS && |
claudinei@3313 | 27 make && |
claudinei@3313 | 28 make DESTDIR=$PWD/_pkg install |
claudinei@3313 | 29 } |
claudinei@3313 | 30 |
claudinei@3313 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3313 | 32 genpkg_rules() |
claudinei@3313 | 33 { |
claudinei@4676 | 34 mkdir -p $fs/usr/share $fs/var/games/tuxtype/words |
claudinei@3313 | 35 cp -a $_pkg/usr/bin $fs/usr |
claudinei@3313 | 36 cp -a $_pkg/usr/share/tuxtype $fs/usr/share |
claudinei@3313 | 37 |
claudinei@3313 | 38 for lang in de es fr pt; do |
claudinei@3313 | 39 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES |
claudinei@3313 | 40 cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/tuxtype.mo \ |
claudinei@3313 | 41 $fs/usr/share/locale/$lang/LC_MESSAGES |
claudinei@3313 | 42 done |
claudinei@3313 | 43 } |
claudinei@3313 | 44 |