void-packages/srcpkgs/libodfgen/template

26 lines
804 B
Bash

# Template file for 'libodfgen'
pkgname=libodfgen
version=0.1.7
revision=2
build_style=gnu-configure
configure_args="--enable-debug"
makedepends="boost-devel librevenge-devel"
hostmakedepends="pkg-config"
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=323e491f956c8ca2abb12c998e350670930a32317bf9662b0615dd4b3922b831
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"
}
}