# Template build file for 'libgsf'.
pkgname=libgsf
version=1.14.27
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-introspection=yes"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="libglib-devel libxml2-devel gdk-pixbuf-devel"
short_desc="Structured File Library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://www.gnome.org/"
distfiles="${GNOME_SITE}/libgsf/1.14/$pkgname-$version.tar.xz"
checksum=a012e63bedd6003cea9ae8fa78944516b50c334767163b88527c6b2332bc3e6c

libgsf-devel_package() {
	depends="libglib-devel libxml2-devel libgsf>=${version}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
		vmove usr/share/gir-1.0
	}
}

libgsf_package() {
	pkg_install() {
		vmove usr
	}
}
