summaryrefslogtreecommitdiff
path: root/libraries/jsoncpp/jsoncpp.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2017-01-19 07:36:24 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-21 07:04:44 +0700
commit1ae59d0599dcdb79c9009850d1d98d47a31a1abb (patch)
tree085e43af2d390cf0ac1fe612695aa6a9064c215d /libraries/jsoncpp/jsoncpp.SlackBuild
parent71c16c20037fdc740f5f9806c22dc6be1f4a9f08 (diff)
downloadslackbuilds-1ae59d0599dcdb79c9009850d1d98d47a31a1abb.tar.gz
libraries/jsoncpp: Updated for version 1.8.0
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Diffstat (limited to 'libraries/jsoncpp/jsoncpp.SlackBuild')
-rw-r--r--libraries/jsoncpp/jsoncpp.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/libraries/jsoncpp/jsoncpp.SlackBuild b/libraries/jsoncpp/jsoncpp.SlackBuild
index 2cc7a3ce7e..e8258ed079 100644
--- a/libraries/jsoncpp/jsoncpp.SlackBuild
+++ b/libraries/jsoncpp/jsoncpp.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for jsoncpp
-# Copyright 2014-2016 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2014-2017 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=jsoncpp
-VERSION=${VERSION:-1.7.7}
+VERSION=${VERSION:-1.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,14 +73,13 @@ mkdir -p build
cd build
cmake -G "Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX:PATH="/usr" \
- -DLIB_SUFFIX:STRING="$LIBDIRSUFFIX" \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DJSONCPP_WITH_CMAKE_PACKAGE:BOOL=ON \
-DBUILD_STATIC_LIBS:BOOL=OFF \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DJSONCPP_WITH_TESTS:BOOL=OFF \
- -DINCLUDE_INSTALL_DIR="/usr/include/$PRGNAM" \
+ -DCMAKE_INSTALL_INCLUDEDIR="/usr/include/$PRGNAM" \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1