wok-6.x diff tuxtype/receipt @ rev 16560
Add sz81
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 01 08:30:04 2014 +0000 (2014-05-01) |
parents | aa6d337302ab |
children | dfef8de3d270 |
line diff
1.1 --- a/tuxtype/receipt Fri Mar 09 05:11:48 2012 +0100 1.2 +++ b/tuxtype/receipt Thu May 01 08:30:04 2014 +0000 1.3 @@ -6,16 +6,17 @@ 1.4 CATEGORY="games" 1.5 SHORT_DESC="Educational typing tutor for kids." 1.6 MAINTAINER="claudinei@slitaz.org" 1.7 +LICENSE="GPL2" 1.8 TARBALL="$SOURCE-$VERSION.tar.gz" 1.9 WEB_SITE="http://tux4kids.alioth.debian.org" 1.10 WGET_URL="https://alioth.debian.org/frs/download.php/3270/$TARBALL" 1.11 + 1.12 DEPENDS="libt4k_common libsdl librsvg libsdl-image libsdl-mixer libsdl-ttf \ 1.13 libsdl-net libsdl-pango" 1.14 BUILD_DEPENDS="libt4k_common-dev libsdl-dev librsvg-dev libsdl-image-dev \ 1.15 libsdl-mixer-dev libsdl-ttf-dev libsdl-net-dev libsdl-pango-dev wget" 1.16 TAGS="education" 1.17 1.18 - 1.19 # Rules to configure and make the package. 1.20 compile_rules() 1.21 { 1.22 @@ -27,7 +28,7 @@ 1.23 make 1.24 # Adding the games group satisfies the install script. 1.25 addgroup games 1.26 - make DESTDIR=$PWD/_pkg install 1.27 + make DESTDIR=$DESTDIR install 1.28 # We don't need to leave this behind in the build environment. 1.29 delgroup games 1.30 } 1.31 @@ -36,16 +37,16 @@ 1.32 genpkg_rules() 1.33 { 1.34 mkdir -p $fs/usr/share $fs/var/games/tuxtype/words 1.35 - cp -a $_pkg/usr/bin $fs/usr 1.36 - cp -a $_pkg/usr/share/tuxtype $fs/usr/share 1.37 + cp -a $install/usr/bin $fs/usr 1.38 + cp -a $install/usr/share/tuxtype $fs/usr/share 1.39 1.40 for lang in de es fr pt; do 1.41 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES 1.42 - cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/tuxtype.mo \ 1.43 + cp -a $install/usr/share/locale/$lang/LC_MESSAGES/tuxtype.mo \ 1.44 $fs/usr/share/locale/$lang/LC_MESSAGES 1.45 done 1.46 1.47 - cp -ar $_pkg/usr $fs 1.48 + cp -ar $install/usr $fs 1.49 } 1.50 1.51 post_install()