wok diff wesnoth/receipt @ rev 14387

embryo: change tags
author Dominique Corbex <domcox@slitaz.org>
date Tue Apr 23 07:01:02 2013 +0200 (2013-04-23)
parents 9433ff922ea5
children 380ffe05937a
line diff
     1.1 --- a/wesnoth/receipt	Sun Jul 08 16:36:30 2012 +0200
     1.2 +++ b/wesnoth/receipt	Tue Apr 23 07:01:02 2013 +0200
     1.3 @@ -1,16 +1,17 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="wesnoth"
     1.7 -VERSION="1.8.5"
     1.8 +VERSION="1.10.3"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="Turn based strategy game"
    1.11  MAINTAINER="mimas@slitaz.org"
    1.12  DEPENDS="libsdl libsdl-mixer libsdl-ttf libsdl-net libsdl-image zlib pango \
    1.13  cairo fontconfig libboost-regex libboost-iostreams libpng fribidi gcc-lib-base \
    1.14 -xcb-util"
    1.15 +xcb-util libboost-system libboost-program-options"
    1.16  BUILD_DEPENDS="cairo-dev pango-dev libboost-regex-dev libboost-iostreams-dev libsdl-dev libsdl-mixer-dev libsdl-ttf-dev \
    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 +lua-dev libboost-serialization-dev autoconf automake fribidi-dev \
    1.20 +libboost-system-dev libboost-program-options-dev cmake"
    1.21  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.22  WEB_SITE="http://www.wesnoth.org/"
    1.23  WGET_URL="$SF_MIRROR/wesnoth/$TARBALL"
    1.24 @@ -20,13 +21,8 @@
    1.25  compile_rules()
    1.26  {
    1.27  	cd $src
    1.28 -	./autogen.sh || return 1
    1.29 -	./configure --prefix=/usr $CONFIGURE_ARGS
    1.30 -	sed -i  -e 's/CFLAGS = -O2/CFLAGS = -fno-strict-aliasing -O2/' \
    1.31 -		-e 's/CXXFLAGS = -O2/CXXFLAGS = -fno-strict-aliasing -O2/' \
    1.32 -		-e 's| -o -wholename "data/test/\*"||' \
    1.33 -			Makefile src/Makefile
    1.34 -	make $MAKEFLAGS && make DESTDIR=$PWD/_pkg install
    1.35 +	cmake -DCMAKE_INSTALL_PREFIX=/usr .
    1.36 +	make $MAKEFLAGS && make DESTDIR=$DESTDIR install
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.