summaryrefslogtreecommitdiff
path: root/libraries/json-c/json-c.SlackBuild
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/json-c.SlackBuild
parentf3a5d4b80e399b83d3e5c17b6804e7fa44b9853f (diff)
downloadslackbuilds-fd687014413af1a6b0fc84ed18ee8e1708eb5963.tar.gz
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/json-c.SlackBuild')
-rw-r--r--libraries/json-c/json-c.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/libraries/json-c/json-c.SlackBuild b/libraries/json-c/json-c.SlackBuild
index 770ed442ff..2b1db4fccd 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