aboutsummaryrefslogtreecommitdiff
path: root/libraries/tinyxml2/tinyxml2.SlackBuild
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 /libraries/tinyxml2/tinyxml2.SlackBuild
parent9c4f4ad44c96cc72bf9664363276b69a2131a38a (diff)
libraries/tinyxml2: Updated for version 7.0.0
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Diffstat (limited to 'libraries/tinyxml2/tinyxml2.SlackBuild')
-rw-r--r--libraries/tinyxml2/tinyxml2.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/libraries/tinyxml2/tinyxml2.SlackBuild b/libraries/tinyxml2/tinyxml2.SlackBuild
index acf602fb917d0..bd2fb66e0d4ef 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 ..