summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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=""