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

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

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libbonobo (Bonobo CORBA interfaces library)"
"The bonobo library supports independant CORBA interfaces for creating"
"reusable components.  It provides GNOME with a framework for handling"
"compound documents, such as embedding a spreadsheet in a word"
"processor document."
)


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

	# we don't really need these
	rm -rf $startdir/pkg/usr/share/gtk-doc
}