# HG changeset patch # User Pascal Bellard # Date 1341827002 -7200 # Node ID 1a058ee0e4c27cf1bbdd732674edbaf3bf1f8454 # Parent 21ad69bbbfa580f10c32e9178e837850d35930a8 Up wesnoth (1.10.3) diff -r 21ad69bbbfa5 -r 1a058ee0e4c2 wesnoth/receipt --- a/wesnoth/receipt Sun Jul 08 20:53:49 2012 +0200 +++ b/wesnoth/receipt Mon Jul 09 11:43:22 2012 +0200 @@ -1,16 +1,17 @@ # SliTaz package receipt. PACKAGE="wesnoth" -VERSION="1.8.5" +VERSION="1.10.3" CATEGORY="games" SHORT_DESC="Turn based strategy game" MAINTAINER="mimas@slitaz.org" DEPENDS="libsdl libsdl-mixer libsdl-ttf libsdl-net libsdl-image zlib pango \ cairo fontconfig libboost-regex libboost-iostreams libpng fribidi gcc-lib-base \ -xcb-util" +xcb-util libboost-system libboost-program-options" BUILD_DEPENDS="cairo-dev pango-dev libboost-regex-dev libboost-iostreams-dev libsdl-dev libsdl-mixer-dev libsdl-ttf-dev \ libsdl-ttf libsdl-image-dev libsdl-net-dev libpng-dev freetype-dev fontconfig-dev findutils \ -lua-dev libboost-serialization-dev autoconf automake fribidi-dev" +lua-dev libboost-serialization-dev autoconf automake fribidi-dev \ +libboost-system-dev libboost-program-options-dev cmake" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.wesnoth.org/" WGET_URL="$SF_MIRROR/wesnoth/$TARBALL" @@ -20,13 +21,8 @@ compile_rules() { cd $src - ./autogen.sh || return 1 - ./configure --prefix=/usr $CONFIGURE_ARGS - sed -i -e 's/CFLAGS = -O2/CFLAGS = -fno-strict-aliasing -O2/' \ - -e 's/CXXFLAGS = -O2/CXXFLAGS = -fno-strict-aliasing -O2/' \ - -e 's| -o -wholename "data/test/\*"||' \ - Makefile src/Makefile - make $MAKEFLAGS && make DESTDIR=$PWD/_pkg install + cmake -DCMAKE_INSTALL_PREFIX=/usr . + make $MAKEFLAGS && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg.