summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/jsoncpp/jsoncpp.SlackBuild7
-rw-r--r--libraries/jsoncpp/jsoncpp.info6
2 files changed, 6 insertions, 7 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
diff --git a/libraries/jsoncpp/jsoncpp.info b/libraries/jsoncpp/jsoncpp.info
index 3bcdeef203..8c150f7919 100644
--- a/libraries/jsoncpp/jsoncpp.info
+++ b/libraries/jsoncpp/jsoncpp.info
@@ -1,8 +1,8 @@
PRGNAM="jsoncpp"
-VERSION="1.7.7"
+VERSION="1.8.0"
HOMEPAGE="https://github.com/open-source-parsers/jsoncpp"
-DOWNLOAD="https://github.com/open-source-parsers/jsoncpp/archive/1.7.7/jsoncpp-1.7.7.tar.gz"
-MD5SUM="9b51c65c563463220a8cb5fa33d525f8"
+DOWNLOAD="https://github.com/open-source-parsers/jsoncpp/archive/1.8.0/jsoncpp-1.8.0.tar.gz"
+MD5SUM="6d6cbd82b5fe4a9cbae4ffef01f9e9fc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""