summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2016-08-04 21:25:40 -0700
committerDavid Spencer <idlemoor@slackbuilds.org>2016-08-05 18:10:51 +0100
commit0e32deff3c65016e936eccdecdc6bf9d4f5f25d8 (patch)
treee65b7bc7b125bc99ee5e59d9d8e9e3808843f9f7 /libraries
parentc017fabb05a9cd6ced436bbc8d9d482455ac4495 (diff)
downloadslackbuilds-0e32deff3c65016e936eccdecdc6bf9d4f5f25d8.tar.gz
libraries/jsoncpp: Updated for version 1.7.4
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/jsoncpp/jsoncpp.SlackBuild5
-rw-r--r--libraries/jsoncpp/jsoncpp.info6
2 files changed, 7 insertions, 4 deletions
diff --git a/libraries/jsoncpp/jsoncpp.SlackBuild b/libraries/jsoncpp/jsoncpp.SlackBuild
index cc34a961f6..bcb95e6ca8 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.3}
+VERSION=${VERSION:-1.7.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -90,6 +90,9 @@ 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
+# Cosmetic fix.
+sed -i 's|//usr|/usr|' $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
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/libraries/jsoncpp/jsoncpp.info b/libraries/jsoncpp/jsoncpp.info
index 3784abd7fb..76285a0ef9 100644
--- a/libraries/jsoncpp/jsoncpp.info
+++ b/libraries/jsoncpp/jsoncpp.info
@@ -1,8 +1,8 @@
PRGNAM="jsoncpp"
-VERSION="1.7.3"
+VERSION="1.7.4"
HOMEPAGE="https://github.com/open-source-parsers/jsoncpp"
-DOWNLOAD="https://github.com/open-source-parsers/jsoncpp/archive/1.7.3/jsoncpp-1.7.3.tar.gz"
-MD5SUM="aff6bfb5b81d9a28785429faa45839c5"
+DOWNLOAD="https://github.com/open-source-parsers/jsoncpp/archive/1.7.4/jsoncpp-1.7.4.tar.gz"
+MD5SUM="51a6d5f8832d668daf97790ea59c4926"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""