void-packages/srcpkgs/libwpd/template
2015-12-31 23:42:59 +01:00

30 lines
764 B
Bash

# Template file for 'libwpd'
pkgname=libwpd
version=0.10.1
revision=1
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=09d3410bc770f9d9eedc8544b5c211771ea3322de3fee19b58ad7d40fb2984f6
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
}
}