void-packages/srcpkgs/wv/template

41 lines
1.1 KiB
Plaintext
Raw Normal View History

# Template file for 'wv'
pkgname=wv
version=1.2.4
build_style=gnu-configure
revision=5
2012-06-06 10:10:08 +02:00
makedepends="pkg-config glib-devel libxml2-devel libpng-devel>=1.5.10 libgsf-devel"
short_desc="wv is a library which allows access to Microsoft Word files."
homepage="http://wvware.sourceforge.net/"
license="GPL-3"
maintainer="davehome <davehome@redthumb.info.tm>"
2012-06-06 10:10:08 +02:00
distfiles="${SOURCEFORGE_SITE}/${pkgname}ware/${pkgname}-$version.tar.gz"
checksum=673109910e22d4cf94cc8be4dcb9a0c41b5fbdb1736d4b7bdc7778894d57c2d6
long_desc="
wv is a library which allows access to Microsoft Word files. It can load and
parse Word 2000, 97, 95 and 6 file formats. (These are the file formats
known internally as Word 9, 8, 7 and 6.) There is some support for reading
earlier formats as well: Word 2 docs are converted to plaintext."
libwv_package() {
short_desc="${short_desc} - Runtime library"
pkg_install() {
vmove "usr/lib/*.so*"
}
}
wv-devel_package() {
depends="libwv>=$version"
short_desc="${short_desc} - Development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
}
}
wv_package() {
pkg_install() {
vmove usr
}
}