void-packages/srcpkgs/libwps/template

32 lines
835 B
Bash

# Template file for 'libwps'
pkgname=libwps
version=0.4.9
revision=2
build_style=gnu-configure
configure_args="--disable-werror"
hostmakedepends="pkg-config"
makedepends="boost-devel librevenge-devel"
short_desc="Library for importing Microsoft Works documents"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MPL-2.0, LGPL-2.1-or-later"
homepage="https://sourceforge.net/p/libwps/wiki/Home/"
distfiles="${SOURCEFORGE_SITE}/libwps/libwps-${version}.tar.xz"
checksum=13beb0c733bb1544a542b6ab1d9d205f218e9a2202d1d4cac056f79f6db74922
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
}
}