aboutsummaryrefslogtreecommitdiff
path: root/libraries/json-glib/json-glib.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2011-12-11 12:20:16 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2011-12-11 12:20:16 -0200
commitc1b926ed98a761249dee7f01ab5bc4590b99142b (patch)
treeea48fa2ccb136aef1e4d00f5f01abb3e68345f3a /libraries/json-glib/json-glib.SlackBuild
parentd03ad4736dfb8bcf8783a631794eb0204a87d4ca (diff)
libraries/json-glib: Updated for version 0.14.2.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
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 14bf3c3c04edd..8f402b7e1244b 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