void-packages/srcpkgs/libwpd/template

31 lines
764 B
Bash

# Template file for 'libwpd'
pkgname=libwpd
version=0.10.3
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="librevenge-devel"
short_desc="Library for importing WordPerfect documents"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MPL-2.0, LGPL-2.1"
homepage="http://libwpd.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/libwpd/libwpd-${version}.tar.xz"
checksum=2465b0b662fdc5d4e3bebcdc9a79027713fb629ca2bff04a3c9251fdec42dd09
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
}
}