# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Perl script to convert HTML pages or files to LaTeX" HOMEPAGE="http://olivier.sessink.nl/jailkit" SRC_URI="mirror://sourceforge/html2latex/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="dev-perl/HTML-Tree dev-perl/XML-Simple dev-perl/libwww-perl media-gfx/imagemagick" S=${WORKDIR}/${P} src_compile() { cd HTML perl Makefile.PL make DESTDIR=${D} install # econf || die cd .. } src_install() { dodoc README dodoc TODO dobin html2latex doman html2latex.1 }