aboutsummaryrefslogtreecommitdiff
path: root/libraries/json-c/json-c.SlackBuild
diff options
context:
space:
mode:
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 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