wok-stable annotate tuxmath/receipt @ rev 4381
Add: mcrypt
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Oct 14 09:21:14 2009 +0000 (2009-10-14) |
parents | 98e87512d34d |
children | 866fa2493b1b |
rev | line source |
---|---|
claudinei@3314 | 1 # SliTaz package receipt. |
claudinei@3314 | 2 |
claudinei@3314 | 3 PACKAGE="tuxmath" |
claudinei@3314 | 4 SOURCE="tuxmath_w_fonts" |
claudinei@3314 | 5 VERSION="1.7.2" |
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" |
claudinei@3314 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3314 | 10 WEB_SITE="http://tux4kids.alioth.debian.org" |
claudinei@3314 | 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@3314 | 14 libsdl-mixer libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev" |
claudinei@3314 | 15 |
claudinei@3314 | 16 |
claudinei@3314 | 17 # Rules to configure and make the package. |
claudinei@3314 | 18 compile_rules() |
claudinei@3314 | 19 { |
claudinei@3314 | 20 cd $src |
claudinei@3314 | 21 patch -p1 -i ../stuff/SDL_extras.c.patch |
claudinei@3314 | 22 ./configure \ |
claudinei@3314 | 23 --prefix=/usr \ |
claudinei@3314 | 24 --without-sdlpango \ |
claudinei@3314 | 25 $CONFIGURE_ARGS && |
claudinei@3314 | 26 make && |
claudinei@3314 | 27 make DESTDIR=$PWD/_pkg install |
claudinei@3314 | 28 } |
claudinei@3314 | 29 |
claudinei@3314 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3314 | 31 genpkg_rules() |
claudinei@3314 | 32 { |
claudinei@3314 | 33 mkdir -p $fs/usr $fs/usr/share |
claudinei@3314 | 34 cp -a $_pkg/usr/bin $fs/usr |
claudinei@3314 | 35 cp -a $_pkg/usr/share/tuxmath $fs/usr/share |
claudinei@3314 | 36 |
claudinei@3314 | 37 for lang in de es fr pt_BR zh_CN; do |
claudinei@3314 | 38 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES |
claudinei@3314 | 39 cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/tuxmath.mo \ |
claudinei@3314 | 40 $fs/usr/share/locale/$lang/LC_MESSAGES |
claudinei@3314 | 41 done |
claudinei@3314 | 42 } |
claudinei@3314 | 43 |