aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2018-11-06 13:37:09 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:48:12 +0700
commit09ba16a362d7c87be43c7e1b2b35360388123cac (patch)
tree952987c80dd9fe79c8cb79a0d66b53937824bdb6
parent9c4f4ad44c96cc72bf9664363276b69a2131a38a (diff)
libraries/tinyxml2: Updated for version 7.0.0
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
-rw-r--r--libraries/tinyxml2/tinyxml2.SlackBuild9
-rw-r--r--libraries/tinyxml2/tinyxml2.info6
2 files changed, 7 insertions, 8 deletions
diff --git a/libraries/tinyxml2/tinyxml2.SlackBuild b/libraries/tinyxml2/tinyxml2.SlackBuild
index acf602fb917d..bd2fb66e0d4e 100644
--- a/libraries/tinyxml2/tinyxml2.SlackBuild
+++ b/libraries/tinyxml2/tinyxml2.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for tinyxml2
-# Copyright 2014-2017 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2014-2018 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:-5.0.1}
+VERSION=${VERSION:-7.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -76,13 +76,12 @@ for i in *.cpp *.h; do
mv ${i}.new $i
done
-# Fix Cmake install directory.
-sed -i "s|lib/cmake|lib${LIBDIRSUFFIX}/cmake|" CMakeLists.txt
-
mkdir build
cd build
cmake -G "Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DCMAKE_INSTALL_LIBDIR:PATH="/usr/lib$LIBDIRSUFFIX" \
+ -DCMAKE_INSTALL_INCLUDEDIR:PATH="/usr/include" \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_BUILD_TYPE=Release ..
diff --git a/libraries/tinyxml2/tinyxml2.info b/libraries/tinyxml2/tinyxml2.info
index 8fc1828d75a8..cb28b1f680fe 100644
--- a/libraries/tinyxml2/tinyxml2.info
+++ b/libraries/tinyxml2/tinyxml2.info
@@ -1,8 +1,8 @@
PRGNAM="tinyxml2"
-VERSION="5.0.1"
+VERSION="7.0.0"
HOMEPAGE="http://www.grinninglizard.com/tinyxml2/index.html"
-DOWNLOAD="https://github.com/leethomason/tinyxml2/archive/5.0.1/tinyxml2-5.0.1.tar.gz"
-MD5SUM="ed8f0bccfd5cfb97d1317235f45935b2"
+DOWNLOAD="https://github.com/leethomason/tinyxml2/archive/7.0.0/tinyxml2-7.0.0.tar.gz"
+MD5SUM="15719b86bf507fe8c0a04cefe87aec49"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""