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 /libraries/jsoncpp/jsoncpp.SlackBuild | |
parent | 6acfb016fdc8f057e03c2644fe2f1452fb6ee05d (diff) | |
download | slackbuilds-0b666fcc42f71201f52358025b107ce15676112d.tar.gz |
libraries/jsoncpp: Updated for version 1.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/jsoncpp/jsoncpp.SlackBuild')
-rw-r--r-- | libraries/jsoncpp/jsoncpp.SlackBuild | 10 |
1 files changed, 3 insertions, 7 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 \ |