#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com)

pkgname=libsoup
pkgver=2.32.2
pkgrel=1gv
source=("http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.32/libsoup-2.32.2.tar.bz2")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://ftp.gnome.org/pub/GNOME/sources/libsoup
options=('noautodotnew')


slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libsoup (HTTP client/server Library)"
"Libsoup is an HTTP client/server library for GNOME. It uses GObjects"
"and the glib main loop, to integrate well with GNOME applications."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static --build=$arch-slackware-linux
	make || return 1
	make install DESTDIR=$startdir/pkg
	rm -rf $startdir/pkg/usr/share/gtk-doc
	rmdir $startdir/pkg/usr/share
}