wok-current diff wesnoth/receipt @ rev 17448
Add Qcad 2D CAD application
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Dec 14 10:13:18 2014 +0100 (2014-12-14) |
parents | 1a058ee0e4c2 |
children | 4cc128a1bc43 |
line diff
1.1 --- a/wesnoth/receipt Mon Jul 09 11:43:22 2012 +0200 1.2 +++ b/wesnoth/receipt Sun Dec 14 10:13:18 2014 +0100 1.3 @@ -5,6 +5,12 @@ 1.4 CATEGORY="games" 1.5 SHORT_DESC="Turn based strategy game" 1.6 MAINTAINER="mimas@slitaz.org" 1.7 +LICENSE="GPL2" 1.8 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.9 +WEB_SITE="http://www.wesnoth.org/" 1.10 +WGET_URL="$SF_MIRROR/wesnoth/$TARBALL" 1.11 +TAGS="strategy" 1.12 + 1.13 DEPENDS="libsdl libsdl-mixer libsdl-ttf libsdl-net libsdl-image zlib pango \ 1.14 cairo fontconfig libboost-regex libboost-iostreams libpng fribidi gcc-lib-base \ 1.15 xcb-util libboost-system libboost-program-options" 1.16 @@ -12,10 +18,6 @@ 1.17 libsdl-ttf libsdl-image-dev libsdl-net-dev libpng-dev freetype-dev fontconfig-dev findutils \ 1.18 lua-dev libboost-serialization-dev autoconf automake fribidi-dev \ 1.19 libboost-system-dev libboost-program-options-dev cmake" 1.20 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.21 -WEB_SITE="http://www.wesnoth.org/" 1.22 -WGET_URL="$SF_MIRROR/wesnoth/$TARBALL" 1.23 -TAGS="strategy" 1.24 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 @@ -30,24 +32,24 @@ 1.28 { 1.29 # programs 1.30 mkdir -p $fs/usr/bin 1.31 - cp $_pkg/usr/bin/wesnoth $fs/usr/bin/ 1.32 + cp $install/usr/bin/wesnoth $fs/usr/bin/ 1.33 1.34 # data 1.35 mkdir -p $fs/usr/share/wesnoth/ 1.36 - cp -a $_pkg/usr/share/wesnoth/data $fs/usr/share/wesnoth/ 1.37 - cp -a $_pkg/usr/share/wesnoth/fonts $fs/usr/share/wesnoth/ 1.38 - cp -a $_pkg/usr/share/wesnoth/images $fs/usr/share/wesnoth/ 1.39 - cp -a $_pkg/usr/share/wesnoth/sounds $fs/usr/share/wesnoth/ 1.40 + cp -a $install/usr/share/wesnoth/data $fs/usr/share/wesnoth/ 1.41 + cp -a $install/usr/share/wesnoth/fonts $fs/usr/share/wesnoth/ 1.42 + cp -a $install/usr/share/wesnoth/images $fs/usr/share/wesnoth/ 1.43 + cp -a $install/usr/share/wesnoth/sounds $fs/usr/share/wesnoth/ 1.44 1.45 mkdir $fs/usr/share/wesnoth/translations 1.46 if [ ! "$LOCALE" = "" ]; then 1.47 for i in $LOCALE 1.48 do 1.49 - cp -a $_pkg/usr/share/wesnoth/translations/$i \ 1.50 + cp -a $install/usr/share/wesnoth/translations/$i \ 1.51 $fs/usr/share/wesnoth/translations 1.52 done 1.53 else 1.54 - cp -a $_pkg/usr/share/wesnoth/translations \ 1.55 + cp -a $install/usr/share/wesnoth/translations \ 1.56 $fs/usr/share/wesnoth/ 1.57 fi 1.58 1.59 @@ -55,8 +57,8 @@ 1.60 rm $fs/usr/share/wesnoth/data/core/music/*.ogg 2> /dev/null 1.61 1.62 # finalize 1.63 - cp -a $_pkg/usr/share/applications $fs/usr/share 1.64 - cp -a $_pkg/usr/share/pixmaps $fs/usr/share 1.65 + cp -a $install/usr/share/applications $fs/usr/share 1.66 + cp -a $install/usr/share/pixmaps $fs/usr/share 1.67 1.68 } 1.69