void-packages/srcpkgs/libwpd/template

31 lines
755 B
Bash

# Template file for 'libwpd'
pkgname=libwpd
version=0.10.0
revision=1
build_style=gnu-configure
short_desc="Library for importing WordPerfect documents"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MPL/LGPL"
makedepends="librevenge-devel"
hostmakedepends="pkg-config"
homepage="http://libwpd.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/libwpd/libwpd-${version}.tar.xz"
checksum=9d8ba780cb9c0aed7859c59a602138d8ab360b40f6aa655e42f5f769f2cfd32c
libwpd-devel_package() {
depends="libwpd>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
libwpd-tools_package() {
short_desc+=" - tools"
pkg_install() {
vmove usr/bin
}
}