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

pkgname=libsoup
pkgver=2.26.3
arch=i486
pkgrel=2gv
source=("http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.26/libsoup-2.26.3.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
	make || return 1
	make install DESTDIR=$startdir/pkg
	rm -rf $startdir/pkg/usr/share/gtk-doc
	rmdir $startdir/pkg/usr/share
}