summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-08-21 19:26:49 +0200
committerPacho Ramos <pacho@gentoo.org>2016-08-21 19:27:37 +0200
commit9d7e8618421363efa346ee47df396eb1730b0686 (patch)
tree5bccfda8f8361fdea0e8cd6d90ba5c72ebae7c7b /dev-tex/latex2rtf
parentdev-tex/latex2rtf: drop old (diff)
downloadgentoo-9d7e8618421363efa346ee47df396eb1730b0686.tar.gz
gentoo-9d7e8618421363efa346ee47df396eb1730b0686.tar.bz2
gentoo-9d7e8618421363efa346ee47df396eb1730b0686.zip
dev-tex/latex2rtf: Version bump (security bug #566032)
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-tex/latex2rtf')
-rw-r--r--dev-tex/latex2rtf/Manifest1
-rw-r--r--dev-tex/latex2rtf/latex2rtf-2.3.11.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-tex/latex2rtf/Manifest b/dev-tex/latex2rtf/Manifest
index 80caa4c20f0a..860b93df6fe8 100644
--- a/dev-tex/latex2rtf/Manifest
+++ b/dev-tex/latex2rtf/Manifest
@@ -1,2 +1,3 @@
DIST latex2rtf-2.2.1b.tar.gz 1357814 SHA256 d4c062a0b95cfa9ed4169ffd8c9ed67d65649227a19d6a9991597550e3e227a2 SHA512 943a667d65d84db744030f859500eb68095563be3f7fe9ad60201753058185360907557362e48931e37251f8ae9e40ec904ebb90e96c3bdd36c7abf8e9f2956b WHIRLPOOL cfef462a7dce753662ffe8e5ff12971a51fda26b49a891db519412c2e29c65f644545d08c8a43e3d107aaffc9321f53795e859499311c4a601b35eb671d13369
+DIST latex2rtf-2.3.11a.tar.gz 1582004 SHA256 d4e5d84e8cbf7de13f7cce5572bfeb97b5c18e338513b7398e23c744acc147c2 SHA512 b6e6000b4f919ecfb5174f32887cb4e1b765530547b3b50103e778d0244f0ce37d0ec14bbd1fa6b2ef2569f0c437b34b29586c4bdb2e3caf50584847819f54c0 WHIRLPOOL daa9d989816229549af9f3d35ce4d8a3a8049e2844d3d32910b75838d2eb25f77c64fb46fa5ea647449b50d212102731bcad7adfc035c9a20f35e9f30ceea179
DIST latex2rtf-2.3.8.tar.gz 1579721 SHA256 5484530de16e96ce76aedf969c464656a5f8834e748849d9009049e26f8c4143 SHA512 c4f0bdca7f1b3e605a07a015bad68193698e43ff2dd561e34eed397d8c92fccc52801fd1c3592592dd63c92a6b60a066904f60f2c4e41778702cc996b9113b0b WHIRLPOOL 6c1372abf67dcfa7c01453c4ded1e69f769d2c6adf544dd0c74211aea2181d45e0917e88ebc378b503c8f323a617ddbfdcc2a817ec72a7eb5b9acb9a323546cd
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..cb56142803fb
--- /dev/null
+++ b/dev-tex/latex2rtf/latex2rtf-2.3.11.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+}