summaryrefslogtreecommitdiff
path: root/libraries/tinyxml2
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2015-02-14 10:44:06 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-14 10:44:06 +0700
commit7f21e02b63524683d1b46627d64882db4ccfd2c9 (patch)
treec7d976ee8ec374498c6ef9cebf4efb7bf3c2dffe /libraries/tinyxml2
parentb47450c6e77fc2f5163a87d4cd042cecad7eeef6 (diff)
downloadslackbuilds-7f21e02b63524683d1b46627d64882db4ccfd2c9.tar.gz
libraries/tinyxml2: Updated for version 2.2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/tinyxml2')
-rw-r--r--libraries/tinyxml2/tinyxml2.SlackBuild7
-rw-r--r--libraries/tinyxml2/tinyxml2.info6
2 files changed, 7 insertions, 6 deletions
diff --git a/libraries/tinyxml2/tinyxml2.SlackBuild b/libraries/tinyxml2/tinyxml2.SlackBuild
index ed9245c2ac..58fd9cb9e0 100644
--- a/libraries/tinyxml2/tinyxml2.SlackBuild
+++ b/libraries/tinyxml2/tinyxml2.SlackBuild
@@ -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 -
diff --git a/libraries/tinyxml2/tinyxml2.info b/libraries/tinyxml2/tinyxml2.info
index 9dee8e39a7..21e614092e 100644
--- a/libraries/tinyxml2/tinyxml2.info
+++ b/libraries/tinyxml2/tinyxml2.info
@@ -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=""