#Packager: Maximus (maximuus[at]gmail[dot]com)

pkgname=json-glib
pkgver=0.12.2
pkgrel=1mb
source=(http://ftp.gnome.org/pub/GNOME/sources/json-glib/0.12/json-glib-0.12.2.tar.bz2)
sourcetemplate=http://people.salixos.org/maximus/$pkgname/$pkgver/
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://live.gnome.org/JsonGlib

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"json-glib (serialization/deserialization support for the JSON format)"
"JSON-GLib is a library providing serialization and deserialization"
"support for the JavaScript Object Notation (JSON) format described by"
"RFC 4627."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc
	make all || return 1
	make install DESTDIR=$startdir/pkg
}