summaryrefslogtreecommitdiffstats
path: root/libraries/jsoncpp/jsoncpp.SlackBuild
diff options
context:
space:
mode:
author Larry Hajali <larryhaja@gmail.com>2016-09-02 21:00:38 -0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-11 08:53:18 +0700
commit75b3d90fe536d58548734b5d5b5f61a81347176e (patch)
treeba44f2fc50f8ec7b863a22465b7f995c028418d0 /libraries/jsoncpp/jsoncpp.SlackBuild
parent943ab964a0560da84d13e8bd8ad2e049dee758c8 (diff)
downloadslackbuilds-75b3d90fe536d58548734b5d5b5f61a81347176e.tar.gz
slackbuilds-75b3d90fe536d58548734b5d5b5f61a81347176e.tar.xz
libraries/jsoncpp: Updated for version 1.7.5
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Diffstat (limited to 'libraries/jsoncpp/jsoncpp.SlackBuild')
-rw-r--r--libraries/jsoncpp/jsoncpp.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/jsoncpp/jsoncpp.SlackBuild b/libraries/jsoncpp/jsoncpp.SlackBuild
index bcb95e6ca8..870e4b01ae 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.7.4}
+VERSION=${VERSION:-1.7.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,7 +80,7 @@ cd build
-DBUILD_STATIC_LIBS:BOOL=OFF \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DJSONCPP_WITH_TESTS:BOOL=OFF \
- -DINCLUDE_INSTALL_DIR=/usr/include/$PRGNAM \
+ -DINCLUDE_INSTALL_DIR="/usr/include/$PRGNAM" \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
@@ -91,7 +91,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Cosmetic fix.
-sed -i 's|//usr|/usr|' $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/$PRGNAM.pc
+sed -i '/^includedir/s|\$.*//|/|' $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/$PRGNAM.pc
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS LICENSE NEWS.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION