void-packages/srcpkgs/libwps/template
2021-05-21 15:50:13 +02:00

31 lines
837 B
Bash

# Template file for 'libwps'
pkgname=libwps
version=0.4.12
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.org>"
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=e21afb52a06d03b774c5a8c72679687ab64891b91ce0c3bdf2d3e97231534edb
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
}
}