void-packages/srcpkgs/libwpd/template
2015-12-06 19:43:47 +01:00

30 lines
764 B
Bash

# Template file for 'libwpd'
pkgname=libwpd
version=0.10.0
revision=2
build_style=gnu-configure
short_desc="Library for importing WordPerfect documents"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MPL-2.0, LGPL-2.1"
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
}
}