void-packages/srcpkgs/libwps/template
2015-08-11 16:42:28 +02:00

31 lines
786 B
Bash

# Template file for 'libwps'
pkgname=libwps
reverts=0.4.0_1
version=0.3.1
revision=2
build_style=gnu-configure
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=bb2c2a7db5121411ba705ccf3452cdce51d9798384fd9621e9702ba802878e93
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
}
}