void-packages/srcpkgs/libwps/template
2017-01-11 12:52:03 +01:00

30 lines
770 B
Bash

# Template file for 'libwps'
pkgname=libwps
version=0.4.5
revision=1
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=8e175ab9339d447a285a1533bfdc405432b9a275e4f3a98690ffaf12fe7f4d4a
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
}
}