wok-6.x rev 21565

updated wesnoth (1.10.3 -> 1.14.7)
author Hans-G?nter Theisgen
date Fri May 17 13:56:04 2019 +0100 (2019-05-17)
parents 3c81dd700a3f
children 57994a26cb11
files wesnoth/receipt
line diff
     1.1 --- a/wesnoth/receipt	Fri May 17 11:30:13 2019 +0100
     1.2 +++ b/wesnoth/receipt	Fri May 17 13:56:04 2019 +0100
     1.3 @@ -1,30 +1,38 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="wesnoth"
     1.7 -VERSION="1.10.3"
     1.8 +VERSION="1.14.7"
     1.9  CATEGORY="games"
    1.10 -SHORT_DESC="Turn based strategy game"
    1.11 +TAGS="strategy"
    1.12 +SHORT_DESC="Turn based strategy game."
    1.13  MAINTAINER="mimas@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 -WEB_SITE="http://www.wesnoth.org/"
    1.17 -WGET_URL="$SF_MIRROR/wesnoth/$TARBALL"
    1.18 -TAGS="strategy"
    1.19 +WEB_SITE="https://www.wesnoth.org/"
    1.20  
    1.21 -DEPENDS="libsdl libsdl-mixer libsdl-ttf libsdl-net libsdl-image zlib pango \
    1.22 -cairo fontconfig libboost-regex libboost-iostreams libpng fribidi gcc-lib-base \
    1.23 -xcb-util libboost-system libboost-program-options"
    1.24 -BUILD_DEPENDS="cairo-dev pango-dev libboost-regex-dev libboost-iostreams-dev libsdl-dev libsdl-mixer-dev libsdl-ttf-dev \
    1.25 -libsdl-ttf libsdl-image-dev libsdl-net-dev libpng-dev freetype-dev fontconfig-dev findutils \
    1.26 -lua-dev libboost-serialization-dev autoconf automake fribidi-dev \
    1.27 -libboost-system-dev libboost-program-options-dev cmake"
    1.28 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.29 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION.tar.gz"
    1.30 +
    1.31 +DEPENDS="cairo fontconfig fribidi gcc-lib-base libboost-filesystem \
    1.32 +	libboost-iostreams libboost-math libboost-program-options libboost-regex \
    1.33 +	libboost-system libboost-thread libpng libsdl2 libsdl2-image \
    1.34 +	libsdl2-mixer libsdl2-net libsdl2-ttf pango xcb-util zlib"
    1.35 +BUILD_DEPENDS="autoconf automake cairo-dev cmake dbus-dev findutils \
    1.36 +	fontconfig-dev freetype-dev fribidi-dev gcc83 libboost-filesystem-dev \
    1.37 +	libboost-iostreams-dev libboost-math-dev libboost-program-options-dev \
    1.38 +	libboost-regex-dev libboost-serialization-dev libboost-system-dev \
    1.39 +	libboost-thread-dev libpng-dev libsdl2-dev libsdl2-image-dev \
    1.40 +	libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf libsdl-ttf-dev \
    1.41 +	lua-dev openssl-dev pango-dev"
    1.42  
    1.43  # Rules to configure and make the package.
    1.44  compile_rules()
    1.45  {
    1.46 -	cd $src
    1.47 -	cmake -DCMAKE_INSTALL_PREFIX=/usr .
    1.48 -	make $MAKEFLAGS && make DESTDIR=$DESTDIR install
    1.49 +	export	CC=gcc-83
    1.50 +	export	CXX=g++-83
    1.51 +
    1.52 +	cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
    1.53 +	make $MAKEFLAGS &&
    1.54 +	make DESTDIR=$DESTDIR install
    1.55  }
    1.56  
    1.57  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.58 @@ -32,22 +40,22 @@
    1.59  {
    1.60  	# programs
    1.61  	mkdir -p $fs/usr/bin
    1.62 -	cp $install/usr/bin/wesnoth $fs/usr/bin/
    1.63 +	cp $install/usr/bin/wesnoth		$fs/usr/bin/
    1.64  
    1.65  	# data
    1.66  	mkdir -p $fs/usr/share/wesnoth/
    1.67 -	cp -a $install/usr/share/wesnoth/data $fs/usr/share/wesnoth/
    1.68 -	cp -a $install/usr/share/wesnoth/fonts $fs/usr/share/wesnoth/
    1.69 -	cp -a $install/usr/share/wesnoth/images $fs/usr/share/wesnoth/
    1.70 -	cp -a $install/usr/share/wesnoth/sounds $fs/usr/share/wesnoth/
    1.71 +	cp -a $install/usr/share/wesnoth/data	$fs/usr/share/wesnoth/
    1.72 +	cp -a $install/usr/share/wesnoth/fonts	$fs/usr/share/wesnoth/
    1.73 +	cp -a $install/usr/share/wesnoth/images	$fs/usr/share/wesnoth/
    1.74 +	cp -a $install/usr/share/wesnoth/sounds	$fs/usr/share/wesnoth/
    1.75  
    1.76  	mkdir $fs/usr/share/wesnoth/translations
    1.77  	if [ ! "$LOCALE" = "" ]; then
    1.78  		for i in $LOCALE
    1.79  		do
    1.80 -			cp -a $install/usr/share/wesnoth/translations/$i \
    1.81 -				$fs/usr/share/wesnoth/translations
    1.82 -		done		
    1.83 +		  cp -a $install/usr/share/wesnoth/translations/$i \
    1.84 +			$fs/usr/share/wesnoth/translations
    1.85 +		done
    1.86  	else
    1.87  		cp -a $install/usr/share/wesnoth/translations \
    1.88  			$fs/usr/share/wesnoth/
    1.89 @@ -57,8 +65,6 @@
    1.90  	rm $fs/usr/share/wesnoth/data/core/music/*.ogg 2> /dev/null
    1.91  
    1.92  	# finalize
    1.93 -	cp -a $install/usr/share/applications $fs/usr/share
    1.94 -	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.95 -
    1.96 +	cp -a $install/usr/share/applications	$fs/usr/share
    1.97 +	cp -a $install/usr/share/pixmaps	$fs/usr/share
    1.98  }
    1.99 -