mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
libraries/jsoncpp: Updated for version 1.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
6acfb016fd
commit
0b666fcc42
2 changed files with 6 additions and 10 deletions
|
@ -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 \
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue