# Template file for 'libbonobo'
pkgname=libbonobo
version=2.32.0
distfiles="${GNOME_SITE}/$pkgname/2.32/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-static --localstatedir=/var"
short_desc="GNOME Object activation framework library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=b8b8037d5e8e37f39395a2a2fba7f2fb3d5b53ecedc3d419181912b831ab1349
long_desc="
 Bonobo is a set of language and system independent CORBA interfaces
 for creating reusable components, controls and creating compound
 documents.

 We distinguish between 'Bonobo' the name of the component architecture,
 and 'bonobo' which is the C-based easy to use implementation of the
 Bonobo component architecture.

 libbonobo contains a rich API for dealing Bonobo Objects (activation
 for example)."

conf_files="/etc/bonobo-activation/bonobo-activation-config.xml" 
subpackages="$pkgname-devel"

Add_dependency run glibc
Add_dependency run ORBit2
Add_dependency run glib
Add_dependency run dbus-glib
Add_dependency run dbus-libs
Add_dependency run libxml2
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build flex
Add_dependency build ORBit2-devel
Add_dependency build glib-devel
Add_dependency build dbus-glib-devel
Add_dependency build dbus-devel
Add_dependency build libxml2-devel

post_install()
{
	rm -f ${DESTDIR}/etc/${conf_files}
	install -m644 ${FILESDIR}/*.xml ${DESTDIR}/etc/bonobo-activation
}
