libraries/json-glib: Updated for version 0.14.2.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Erik Hanson 2011-12-11 12:20:16 -02:00 committed by Niels Horn
parent d03ad4736d
commit c1b926ed98
4 changed files with 11 additions and 29 deletions

View file

@ -1,13 +0,0 @@
--- json-glib.pc.in.orig 2009-06-24 08:06:20.000000000 -0400
+++ json-glib.pc.in 2010-12-27 11:26:49.111354950 -0400
@@ -1,7 +1,7 @@
prefix=@prefix@
-exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
-includedir=${exec_prefix}/include
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
Name: JSON-GLib
Description: JSON Parser for GLib

View file

@ -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

View file

@ -1,10 +1,10 @@
PRGNAM="json-glib"
VERSION="0.7.6"
VERSION="0.14.2"
HOMEPAGE="http://live.gnome.org/JsonGlib"
DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/json-glib/0.7/json-glib-0.7.6.tar.bz2"
MD5SUM="38fbb89779cf5a91b001fb737431244d"
DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/json-glib/0.14/json-glib-0.14.2.tar.bz2"
MD5SUM="5716a181a2b85268f53a1fb0c8024c4a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
APPROVED="dsomero"
APPROVED="Niels Horn"

View file

@ -5,9 +5,9 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler----------------------------------------------------|
|-----handy-ruler------------------------------------------------------|
json-glib: JSON-Glib (a de/serialization library for the JS Object Notation)
json-glib:
json-glib:
json-glib: JSON-GLib is a library providing serialization and deserialization
json-glib: support for the JavaScript Object Notation (JSON) format described
json-glib: by RFC 4627.