summaryrefslogtreecommitdiffstats
path: root/libraries/tinyxml2
diff options
context:
space:
mode:
author Larry Hajali2018-11-06 22:37:09 +0100
committer Willy Sudiarto Raharjo2018-11-10 01:48:12 +0100
commit09ba16a362d7c87be43c7e1b2b35360388123cac (patch)
tree952987c80dd9fe79c8cb79a0d66b53937824bdb6 /libraries/tinyxml2
parent9c4f4ad44c96cc72bf9664363276b69a2131a38a (diff)
downloadslackbuilds-09ba16a362d7c87be43c7e1b2b35360388123cac.tar.gz
libraries/tinyxml2: Updated for version 7.0.0
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Diffstat (limited to 'libraries/tinyxml2')
-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 acf602fb91..bd2fb66e0d 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 8fc1828d75..cb28b1f680 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=""