diff options
author | Larry Hajali <larryhaja@gmail.com> | 2015-01-11 07:19:48 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-01-11 11:38:22 +0700 |
commit | 0b666fcc42f71201f52358025b107ce15676112d (patch) | |
tree | 0f3ca50ab2fb944146ab837d6c388c71b55fc0f2 | |
parent | 6acfb016fdc8f057e03c2644fe2f1452fb6ee05d (diff) |
libraries/jsoncpp: Updated for version 1.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-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 ab301a576c462..8f9b3fe27a973 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 c63ca10ec1eb4..28d7cca9724af 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="" |