diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2015-09-09 23:05:58 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-09-09 23:05:58 +0700 |
commit | 749150d8e138bc814dce8034c6d3f02535bcba7e (patch) | |
tree | a04635c405345c9e3f54ab3540b8f89e4cf924eb /libraries/jsoncpp | |
parent | 20d727333ea9e05e5e203b03c0af7c408eeda5b0 (diff) |
libraries/jsoncpp: Updated for version 1.6.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/jsoncpp')
-rw-r--r-- | libraries/jsoncpp/jsoncpp.SlackBuild | 13 | ||||
-rw-r--r-- | libraries/jsoncpp/jsoncpp.info | 6 |
2 files changed, 8 insertions, 11 deletions
diff --git a/libraries/jsoncpp/jsoncpp.SlackBuild b/libraries/jsoncpp/jsoncpp.SlackBuild index 21aa3146a9766..11fe74a521273 100644 --- a/libraries/jsoncpp/jsoncpp.SlackBuild +++ b/libraries/jsoncpp/jsoncpp.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=jsoncpp -VERSION=${VERSION:-1.6.2} +VERSION=${VERSION:-1.6.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -73,13 +73,14 @@ mkdir -p build cd build cmake -G "Unix Makefiles" \ -DCMAKE_INSTALL_PREFIX:PATH="/usr" \ - -DLIB_SUFFIX="$LIBDIRSUFFIX" \ + -DLIB_SUFFIX:STRING="$LIBDIRSUFFIX" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DJSONCPP_WITH_CMAKE_PACKAGE:BOOL=ON \ - -DJSONCPP_LIB_BUILD_SHARED:BOOL=ON \ - -DJSONCPP_LIB_BUILD_STATIC:BOOL=OFF \ + -DBUILD_STATIC_LIBS:BOOL=OFF \ + -DBUILD_SHARED_LIBS:BOOL=ON \ -DJSONCPP_WITH_TESTS:BOOL=OFF \ + -DINCLUDE_INSTALL_DIR=/usr/include/$PRGNAM \ -DCMAKE_BUILD_TYPE=Release .. make VERBOSE=1 @@ -89,10 +90,6 @@ cd - find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -# Move incude directory because it conflicts with json-c. -# This is how Arch, Fedora, Ubuntu and Gentoo do it. -[ -d $PKG/usr/include/json ] && mv $PKG/usr/include/json $PKG/usr/include/$PRGNAM - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS LICENSE NEWS.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/jsoncpp/jsoncpp.info b/libraries/jsoncpp/jsoncpp.info index ef793196d1872..85be13d115d80 100644 --- a/libraries/jsoncpp/jsoncpp.info +++ b/libraries/jsoncpp/jsoncpp.info @@ -1,8 +1,8 @@ PRGNAM="jsoncpp" -VERSION="1.6.2" +VERSION="1.6.5" HOMEPAGE="https://github.com/open-source-parsers/jsoncpp" -DOWNLOAD="https://github.com/open-source-parsers/jsoncpp/archive/1.6.2.tar.gz" -MD5SUM="5a62da8b5c5b0e46a0e782e7363aee3d" +DOWNLOAD="https://github.com/open-source-parsers/jsoncpp/archive/1.6.5.tar.gz" +MD5SUM="2bb16bb8d2b867acbdd71d1855062a89" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |