wok-next annotate tuxmath/receipt @ rev 16437
Add svkbd-fr (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 18 12:03:42 2014 +0000 (2014-04-18) |
parents | 191b99ca9dc2 |
children | d43bf7aae921 |
rev | line source |
---|---|
claudinei@3314 | 1 # SliTaz package receipt. |
claudinei@3314 | 2 |
claudinei@3314 | 3 PACKAGE="tuxmath" |
claudinei@3314 | 4 SOURCE="tuxmath_w_fonts" |
samuel_trassare@11758 | 5 VERSION="2.0.3" |
claudinei@3314 | 6 CATEGORY="games" |
claudinei@3314 | 7 SHORT_DESC="Arcade game that helps kids practice their math facts." |
claudinei@3314 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@15360 | 9 LICENSE="GPL3" |
claudinei@3314 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3314 | 11 WEB_SITE="http://tux4kids.alioth.debian.org" |
samuel_trassare@11758 | 12 WGET_URL="https://alioth.debian.org/frs/download.php/3571/$TARBALL" |
pankso@16236 | 13 |
samuel_trassare@11758 | 14 DEPENDS="libt4k_common libsdl librsvg libsdl-image libsdl-mixer libsdl-ttf \ |
samuel_trassare@11758 | 15 libsdl-net libsdl-pango" |
samuel_trassare@11758 | 16 BUILD_DEPENDS="libt4k_common-dev libsdl-dev librsvg-dev libsdl-image-dev \ |
gokhlayeh@12072 | 17 libsdl-mixer-dev libsdl-ttf-dev libsdl-net-dev libsdl-pango-dev wget" |
jozee@4973 | 18 TAGS="education" |
claudinei@3314 | 19 |
claudinei@3314 | 20 # Rules to configure and make the package. |
claudinei@3314 | 21 compile_rules() |
claudinei@3314 | 22 { |
samuel_trassare@11758 | 23 #patch -p1 -i $stuff/SDL_extras.c.patch |
pascal@15361 | 24 ./configure LIBS="-lt4k_common" \ |
claudinei@3314 | 25 --prefix=/usr \ |
claudinei@3314 | 26 $CONFIGURE_ARGS && |
claudinei@3314 | 27 make && |
pascal@15360 | 28 make DESTDIR=$DESTDIR install |
claudinei@3314 | 29 } |
claudinei@3314 | 30 |
claudinei@3314 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3314 | 32 genpkg_rules() |
claudinei@3314 | 33 { |
claudinei@3314 | 34 mkdir -p $fs/usr $fs/usr/share |
pascal@15360 | 35 cp -a $install/usr/bin $fs/usr |
pascal@15360 | 36 cp -a $install/usr/share/tuxmath $fs/usr/share |
claudinei@3314 | 37 |
claudinei@3314 | 38 for lang in de es fr pt_BR zh_CN; do |
claudinei@3314 | 39 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES |
pascal@15360 | 40 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/tuxmath.mo \ |
claudinei@3314 | 41 $fs/usr/share/locale/$lang/LC_MESSAGES |
claudinei@3314 | 42 done |
claudinei@3314 | 43 } |
claudinei@3314 | 44 |