void-packages/srcpkgs/libwps/template

32 lines
804 B
Bash

# Template file for 'libwps'
pkgname=libwps
version=0.4.7
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"
makedepends="boost-devel librevenge-devel"
hostmakedepends="pkg-config"
homepage="http://libwps.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/libwps/libwps-${version}.tar.xz"
checksum=2f2cab630bceace24f9dbb7d187cd6cd1f4c9f8a7b682c5f7e49c1e2cb58b217
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
}
}