void-packages/srcpkgs/libwps/template
2014-10-10 10:55:17 +02:00

30 lines
760 B
Text

# Template file for 'libwps'
pkgname=libwps
version=0.3.0
revision=1
build_style=gnu-configure
short_desc="Library for importing Microsoft Works documents"
maintainer="Enno Boland <eb@s01.de>"
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=e341d340b16b33f1b1fb66612311b3bdf664c103ebd48beb8db87b434333bef3
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
}
}