# Template build file for 'libgsf'.
pkgname=libgsf
version=1.14.11
revision=2
distfiles="${GNOME_SITE}/libgsf/1.14/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--localstatedir=/var --disable-schemas-install
 --without-gnome-vfs --without-bonobo"
short_desc="Library for layout and rendering of text"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=ceb5fc6538d5998d83adf3fdf04f1dd344a5d0803c87593fadcd02db7ceabfcf
long_desc="
 libgsf provides an efficient extensible I/O abstraction for dealing with
 different structured file formats. It has support for Microsoft OLE2
 streams and Zip import. The aim of this library is to replace libole2."

# XXX: investigate gnome stuff.
subpackages="$pkgname-python $pkgname-devel"
Add_dependency run glib
Add_dependency run libxml2
Add_dependency run glibc
Add_dependency run zlib
Add_dependency run bzip2
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build python
Add_dependency build glib-devel
Add_dependency build libxml2-devel
Add_dependency build glibc-devel
Add_dependency build zlib-devel
Add_dependency build bzip2-devel
Add_dependency build pygtk-devel

post_install()
{
	rm -f ${DESTDIR}/usr/share/man/man1/gsf-office*
}
