summaryrefslogtreecommitdiff
path: root/libraries/json-glib/json-glib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/json-glib/json-glib.SlackBuild')
-rw-r--r--libraries/json-glib/json-glib.SlackBuild15
1 files changed, 5 insertions, 10 deletions
diff --git a/libraries/json-glib/json-glib.SlackBuild b/libraries/json-glib/json-glib.SlackBuild
index 14bf3c3c04..8f402b7e12 100644
--- a/libraries/json-glib/json-glib.SlackBuild
+++ b/libraries/json-glib/json-glib.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for JSON-Glib
#
-# Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA
+# Copyright 2009-2011 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=json-glib
-VERSION=0.7.6
-BUILD=${BUILD:-2}
+VERSION=0.14.2
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -65,9 +65,6 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-# Fix the hard-coded pkgconfig file:
-patch -p0 < $CWD/fix_hardcoded_pkgconfig.diff
-
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -82,12 +79,10 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
+cp -a ABOUT-NLS COPYING ChangeLog NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-( cd $PKG/usr/doc/$PRGNAM-$VERSION
- ln -s /usr/share/gtk-doc/html/json-glib html
-)
+ln -s /usr/share/gtk-doc/html/json-glib $PKG/usr/doc/$PRGNAM-$VERSION/html
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc