libraries/tinyxml2: Updated for version 2.2.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Larry Hajali 2015-02-14 10:44:06 +07:00 committed by Willy Sudiarto Raharjo
parent b47450c6e7
commit 7f21e02b63
2 changed files with 7 additions and 6 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for tinyxml2
# Copyright 2014 Larry Hajali <larryhaja[at]gmail[dot]com>
# Copyright 2014-2015 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tinyxml2
VERSION=${VERSION:-2.1.0}
VERSION=${VERSION:-2.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz 2>/dev/null || tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -77,6 +77,7 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DBUILD_STATIC_LIBS:BOOL=OFF \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
make install DESTDIR=$PKG
cd -

View File

@ -1,8 +1,8 @@
PRGNAM="tinyxml2"
VERSION="2.1.0"
VERSION="2.2.0"
HOMEPAGE="http://www.grinninglizard.com/tinyxml2/index.html"
DOWNLOAD="https://github.com/leethomason/tinyxml2/archive/2.1.0.tar.gz"
MD5SUM="6f52e826144ad56ceb7856ec149190a1"
DOWNLOAD="https://github.com/leethomason/tinyxml2/archive/2.2.0.tar.gz"
MD5SUM="3c7a9191c8f26e4f056a89902ac848b1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""