# Template file for 'libodfgen'
pkgname=libodfgen
version=0.1.4
revision=1
build_style=gnu-configure
makedepends="boost-devel librevenge-devel"
hostmakedepends="pkg-config"
short_desc="Library for generating documents in Open Document Format"
maintainer="Enno Boland <eb@s01.de>"
license="LGPL/MPL"
homepage="http://sourceforge.net/p/libwpd/libodfgen/"
distfiles="${SOURCEFORGE_SITE}/libwpd/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.xz"
checksum=249b5ed8e1acc0fee32b4381b31b4ad9453b674d4f13886bda5e9dd2b4a5f1e1
configure_args="--enable-debug"

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"
	}
}

