diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-tex/latex2rtf/latex2rtf-2.3.11.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-tex/latex2rtf/latex2rtf-2.3.11.ebuild')
-rw-r--r-- | dev-tex/latex2rtf/latex2rtf-2.3.11.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-tex/latex2rtf/latex2rtf-2.3.11.ebuild b/dev-tex/latex2rtf/latex2rtf-2.3.11.ebuild new file mode 100644 index 000000000000..dc7dab1b2461 --- /dev/null +++ b/dev-tex/latex2rtf/latex2rtf-2.3.11.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs + +DESCRIPTION="LaTeX to RTF converter" +HOMEPAGE="http://latex2rtf.sourceforge.net/" +SRC_URI="mirror://sourceforge/latex2rtf/${P}a.tar.gz" # 'a' is only for 2.3.11 version for fixing a tarball generation bug + +LICENSE="GPL-2" +KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" +SLOT="0" +IUSE="test" +S="${WORKDIR}/${P%b}" + +RDEPEND=" + virtual/latex-base + media-gfx/imagemagick +" +DEPEND="${RDEPEND} + virtual/texi2dvi + test? ( + dev-texlive/texlive-langgerman + dev-texlive/texlive-fontsrecommended + dev-texlive/texlive-latexextra + dev-tex/latex2html + ) +" + +src_compile() { + export VARTEXFONTS="${T}/fonts" + tc-export CC + # Set DESTDIR here too so that compiled-in paths are correct. + emake DESTDIR="${EPREFIX}/usr" || die "emake failed" + + cd "${S}/doc" + emake realclean + emake -j1 +} + +src_install() { + dodoc README* HACKING ToDo ChangeLog doc/credits + emake DESTDIR="${ED}/usr" -j1 install install-info +} |