diff options
| author | Sam James <sam@gentoo.org> | 2021-11-24 20:02:09 +0000 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2021-11-24 20:02:09 +0000 |
| commit | b1e3436ee676da49d068da88d21e5cfc549f282e (patch) | |
| tree | dd79956e94d816ea370896b896e9d9e2ac52e323 /dev-tex/html2latex/html2latex-1.1-r3.ebuild | |
| parent | 47285bd1b76d7d5766c6cabed9c00f0d937f04af (diff) | |
| download | gentoo-b1e3436ee676da49d068da88d21e5cfc549f282e.tar.gz gentoo-b1e3436ee676da49d068da88d21e5cfc549f282e.tar.bz2 gentoo-b1e3436ee676da49d068da88d21e5cfc549f282e.zip | |
dev-tex/html2latex: use src_configure, use RDEPEND
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-tex/html2latex/html2latex-1.1-r3.ebuild')
| -rw-r--r-- | dev-tex/html2latex/html2latex-1.1-r3.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-tex/html2latex/html2latex-1.1-r3.ebuild b/dev-tex/html2latex/html2latex-1.1-r3.ebuild new file mode 100644 index 000000000000..dd5a18cfc929 --- /dev/null +++ b/dev-tex/html2latex/html2latex-1.1-r3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit perl-module + +DESCRIPTION="Perl script to convert HTML files into formatted LaTeX" +HOMEPAGE="http://html2latex.sourceforge.net/" +SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +IUSE="imagemagick libwww" + +DEPEND="dev-perl/HTML-Tree + dev-perl/XML-Simple + imagemagick? ( media-gfx/imagemagick ) + libwww? ( dev-perl/libwww-perl )" +RDEPEND="${DEPEND}" + +src_configure() { + # HTML::LaTex + cd HTML || die + perl-module_src_configure +} + +src_compile() { + # HTML::LaTex + cd HTML || die + perl-module_src_compile +} + +src_install() { + dobin html2latex + doman html2latex.1 + dodoc README TODO + + # HTML::LaTex + cd HTML || die + perl-module_src_install + + # rm unwanted README.win + rm "${ED}"/usr/share/doc/${PF}/README.win.txt || die +} |
