void-packages/srcpkgs/wv/template

32 lines
906 B
Plaintext
Raw Normal View History

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