void-packages/srcpkgs/libwps/template
2018-08-06 21:29:19 -03:00

31 lines
836 B
Bash

# Template file for 'libwps'
pkgname=libwps
version=0.4.10
revision=1
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=1421e034286a9f96d3168a1c54ea570ee7aa008ca07b89de005ad5ce49fb29ca
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
}
}