summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-04-23 14:33:27 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-04-23 14:36:20 +0200
commit122a77acb7470031575e5deb728a98a10650e5fe (patch)
tree43d36358b6348697d06792dafd68bcf468e68514 /dev-tex/latex2rtf
parentapp-text/ocrad: bump to 0.26 (diff)
downloadgentoo-122a77acb7470031575e5deb728a98a10650e5fe.tar.gz
gentoo-122a77acb7470031575e5deb728a98a10650e5fe.tar.bz2
gentoo-122a77acb7470031575e5deb728a98a10650e5fe.zip
dev-tex/latex2rtf: bump to 2.3.15
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-tex/latex2rtf')
-rw-r--r--dev-tex/latex2rtf/Manifest1
-rw-r--r--dev-tex/latex2rtf/latex2rtf-2.3.15.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-tex/latex2rtf/Manifest b/dev-tex/latex2rtf/Manifest
index ee7ba89680ce..c755a43f9584 100644
--- a/dev-tex/latex2rtf/Manifest
+++ b/dev-tex/latex2rtf/Manifest
@@ -1 +1,2 @@
DIST latex2rtf-2.3.11a.tar.gz 1582004 SHA256 d4e5d84e8cbf7de13f7cce5572bfeb97b5c18e338513b7398e23c744acc147c2 SHA512 b6e6000b4f919ecfb5174f32887cb4e1b765530547b3b50103e778d0244f0ce37d0ec14bbd1fa6b2ef2569f0c437b34b29586c4bdb2e3caf50584847819f54c0 WHIRLPOOL daa9d989816229549af9f3d35ce4d8a3a8049e2844d3d32910b75838d2eb25f77c64fb46fa5ea647449b50d212102731bcad7adfc035c9a20f35e9f30ceea179
+DIST latex2rtf-2.3.15.tar.gz 1648297 SHA256 92cc98b765190d028a843ed497a67c69b9007346e33ee55138d592994c87c58b SHA512 ef4603bd4d484eadd2accc16b1e20165450cf2ee56b29f950549028954f00ab6e99ec695959b8971d112617f641f8cca193e990a17053ee5cbe0c1bfc8b8630c WHIRLPOOL a8b890e98f2a7f7c36a4dfdaa4810aa2bb7e44a230e7ea4605445fd7fb2150ede818d9225942bbf82ee1e6d2bf33a7f84bd12d2b94ea56958825f82db62c152f
diff --git a/dev-tex/latex2rtf/latex2rtf-2.3.15.ebuild b/dev-tex/latex2rtf/latex2rtf-2.3.15.ebuild
new file mode 100644
index 000000000000..8b58602ce8ac
--- /dev/null
+++ b/dev-tex/latex2rtf/latex2rtf-2.3.15.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 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}.tar.gz"
+
+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"
+
+ # Needed for tests
+ chmod +x test/bracecheck || die
+
+ cd "${S}/doc"
+ emake realclean
+ emake -j1
+}
+
+src_install() {
+ dodoc README* HACKING ToDo ChangeLog doc/credits
+ emake DESTDIR="${ED}/usr" -j1 install install-info
+}