void-packages/srcpkgs/libwps/template

32 lines
808 B
Bash

# Template file for 'libwps'
pkgname=libwps
version=0.4.8
revision=1
build_style=gnu-configure
configure_args="--disable-werror"
short_desc="Library for importing Microsoft Works documents"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MPL/LGPL-2.1"
makedepends="boost-devel librevenge-devel"
hostmakedepends="pkg-config"
homepage="http://libwps.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/libwps/libwps-${version}.tar.xz"
checksum=e478e825ef33f6a434a19ff902c5469c9da7acc866ea0d8ab610a8b2aa94177e
libwps-devel_package() {
depends="libwps>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
libwps-tools_package() {
short_desc+=" - tools"
pkg_install() {
vmove usr/bin
}
}