#Maintainer: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=wv
pkgver=1.2.4
pkgrel=1gv
arch=i486
source=(http://downloads.sourceforge.net/project/wvware/wv/$pkgver/wv-$pkgver.tar.gz)
docs=("readme" "install" "copying*" "changelog" "authors" "news" "todo")
url=http://wvware.sourceforge.net/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"wv - a library for reading Microsoft Word files"
"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."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static
	make || return 1
	make install DESTDIR=$startdir/pkg
}