32 lines
892 B
Bash
32 lines
892 B
Bash
# Template file for 'wv'
|
|
pkgname=wv
|
|
version=1.2.9
|
|
revision=3
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libpng-devel libglib-devel libxml2-devel libgsf-devel"
|
|
short_desc="A library which allows access to Microsoft Word files"
|
|
homepage="http://wvware.sourceforge.net/"
|
|
license="GPL-3"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
distfiles="http://www.abisource.com/downloads/${pkgname}/${version}/${pkgname}-${version}.tar.gz"
|
|
checksum=4c730d3b325c0785450dd3a043eeb53e1518598c4f41f155558385dd2635c19d
|
|
|
|
libwv_package() {
|
|
short_desc+=" - Runtime library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
wv-devel_package() {
|
|
depends="libgsf-devel libpng-devel zlib-devel libwv>=${version}_${revision}"
|
|
short_desc+=" - Development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|