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

pkgname=texi2html
pkgver=5.0
pkgrel=1gv
docs=('authors' 'copying' 'changelog' 'install' 'news' 'readme')
url=http://www.nongnu.org/texi2html/
source=("http://download.savannah.gnu.org/releases/texi2html/$pkgname-$pkgver.tar.bz2")

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"texi2html (Open Source Texinfo to HTML Conversion Script)"
"Texi2HTML is a Perl script which converts Texinfo source files"
"to HTML output, licensed under the GNU General Public License,"
"version 2, or any later version."
)

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