aboutsummaryrefslogtreecommitdiff
path: root/libraries/json-c
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2013-11-18 19:49:13 -0800
committerRobby Workman <rworkman@slackbuilds.org>2013-11-19 15:23:13 -0600
commitfd687014413af1a6b0fc84ed18ee8e1708eb5963 (patch)
tree02d8ce8fa72a293877ff21e4686f469ae2f7558e /libraries/json-c
parentf3a5d4b80e399b83d3e5c17b6804e7fa44b9853f (diff)
libraries/json-c: Updated for version 0.11.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/json-c')
-rw-r--r--libraries/json-c/json-c.SlackBuild8
-rw-r--r--libraries/json-c/json-c.info6
2 files changed, 6 insertions, 8 deletions
diff --git a/libraries/json-c/json-c.SlackBuild b/libraries/json-c/json-c.SlackBuild
index 770ed442ff861..2b1db4fccd693 100644
--- a/libraries/json-c/json-c.SlackBuild
+++ b/libraries/json-c/json-c.SlackBuild
@@ -6,8 +6,8 @@
# Maintained by Benjamin Trigona-Harany (slackbuilds@jaxartes.net)
PRGNAM=json-c
-VERSION=${VERSION:-0.10}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.11}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -52,8 +52,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-sed -i "s|json_object\.h|json_object.h json_object_iterator.h|" Makefile.in
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -66,7 +64,7 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
-make
+make -j1
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/libraries/json-c/json-c.info b/libraries/json-c/json-c.info
index 574c809d1cbe9..2a9bf9559c221 100644
--- a/libraries/json-c/json-c.info
+++ b/libraries/json-c/json-c.info
@@ -1,8 +1,8 @@
PRGNAM="json-c"
-VERSION="0.10"
+VERSION="0.11"
HOMEPAGE="https://github.com/json-c/json-c"
-DOWNLOAD="https://github.com/downloads/json-c/json-c/json-c-0.10.tar.gz"
-MD5SUM="a4edc79410eb894f08d7d52ca9f88732"
+DOWNLOAD="https://s3.amazonaws.com/json-c_releases/releases/json-c-0.11.tar.gz"
+MD5SUM="aa02367d2f7a830bf1e3376f77881e98"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""