void-packages/srcpkgs/libodfgen/template
2021-04-20 12:01:05 +02:00

24 lines
817 B
Bash

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