# Template file for 'libodfgen'
pkgname=libodfgen
version=0.1.8
revision=1
build_style=gnu-configure
configure_args="--enable-debug"
hostmakedepends="pkg-config"
makedepends="boost-devel librevenge-devel libxml2-devel"
short_desc="Library for generating documents in Open Document Format"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later, MPL-2.0"
homepage="http://sourceforge.net/p/libwpd/libodfgen/"
distfiles="${SOURCEFORGE_SITE}/libwpd/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.xz"
checksum=55200027fd46623b9bdddd38d275e7452d1b0ff8aeddcad6f9ae6dc25f610625

libodfgen-devel_package() {
	depends="libodfgen>=${version}_${revision} $makedepends"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
