2011-10-26 12:22:47 +00:00
|
|
|
# Template file for 'wv'
|
|
|
|
pkgname=wv
|
2013-12-05 08:19:04 +00:00
|
|
|
version=1.2.9
|
|
|
|
revision=1
|
2011-10-26 12:22:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-04-30 09:35:34 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libpng-devel>=1.6 libglib-devel libxml2-devel libgsf-devel"
|
2013-12-05 08:19:04 +00:00
|
|
|
short_desc="A library which allows access to Microsoft Word files"
|
2011-10-26 12:22:47 +00:00
|
|
|
homepage="http://wvware.sourceforge.net/"
|
|
|
|
license="GPL-3"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
2013-12-05 08:19:04 +00:00
|
|
|
distfiles="http://www.abisource.com/downloads/${pkgname}/${version}/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=4c730d3b325c0785450dd3a043eeb53e1518598c4f41f155558385dd2635c19d
|
2011-10-26 12:22:47 +00:00
|
|
|
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."
|
2013-04-14 15:36:49 +00:00
|
|
|
|
|
|
|
libwv_package() {
|
2013-04-30 09:35:34 +00:00
|
|
|
short_desc+=" - Runtime library"
|
2013-04-14 15:36:49 +00:00
|
|
|
pkg_install() {
|
2013-12-05 08:19:04 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-14 15:36:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
wv-devel_package() {
|
2013-12-05 08:19:04 +00:00
|
|
|
depends="libgsf-devel libpng-devel zlib-devel libwv>=${version}_${revision}"
|
2013-04-30 09:35:34 +00:00
|
|
|
short_desc+=" - Development files"
|
2013-04-14 15:36:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2013-12-05 08:19:04 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 15:36:49 +00:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|