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

pkgname=libbonoboui
pkgver=2.24.2
pkgrel=1gv
arch=i486
source=("ftp://ftp.gnome.org/pub/gnome/sources/libbonoboui/2.24/libbonoboui-$pkgver.tar.bz2")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=ftp://ftp.gnome.org/pub/gnome/sources/libbonoboui

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"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
	make -j3 || return 1
	make install DESTDIR=$startdir/pkg

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