diff options
-rw-r--r-- | libraries/jsoncpp/jsoncpp.SlackBuild | 10 | ||||
-rw-r--r-- | libraries/jsoncpp/jsoncpp.info | 6 |
2 files changed, 6 insertions, 10 deletions
diff --git a/libraries/jsoncpp/jsoncpp.SlackBuild b/libraries/jsoncpp/jsoncpp.SlackBuild index ab301a576c..8f9b3fe27a 100644 --- a/libraries/jsoncpp/jsoncpp.SlackBuild +++ b/libraries/jsoncpp/jsoncpp.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for jsoncpp -# Copyright 2014 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2014-2015 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.0.0} +VERSION=${VERSION:-1.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,15 +69,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Fix lib path. -sed -i \ - -e "s|lib$|lib${LIBDIRSUFFIX}|" -e "s|/lib/|/lib${LIBDIRSUFFIX}/|" \ - -e "s|lib/cmake|lib${LIBDIRSUFFIX}/cmake|" CMakeLists.txt pkg-config/$PRGNAM.pc.in - mkdir -p build cd build cmake -G "Unix Makefiles" \ -DCMAKE_INSTALL_PREFIX:PATH="/usr" \ + -DLIB_SUFFIX="$LIBDIRSUFFIX" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DJSONCPP_WITH_CMAKE_PACKAGE:BOOL=ON \ diff --git a/libraries/jsoncpp/jsoncpp.info b/libraries/jsoncpp/jsoncpp.info index c63ca10ec1..28d7cca972 100644 --- a/libraries/jsoncpp/jsoncpp.info +++ b/libraries/jsoncpp/jsoncpp.info @@ -1,8 +1,8 @@ PRGNAM="jsoncpp" -VERSION="1.0.0" +VERSION="1.1.0" HOMEPAGE="https://github.com/open-source-parsers/jsoncpp" -DOWNLOAD="https://github.com/open-source-parsers/jsoncpp/archive/1.0.0.tar.gz" -MD5SUM="4c886ac3bfccc867a79f3a5280ce1152" +DOWNLOAD="https://github.com/open-source-parsers/jsoncpp/archive/1.1.0.tar.gz" +MD5SUM="9ac0d5b5ac2706a93197e205d56c09b7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |