/[gentoo-x86]/dev-tex/latex2rtf/latex2rtf-2.3.8.ebuild
Gentoo

Contents of /dev-tex/latex2rtf/latex2rtf-2.3.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Dec 5 09:44:26 2014 UTC (3 years, 9 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +8 -15 lines
drop doc useflag; texi2dvi is needed anyway and it makes little sense to have it control only the info files installation; reported by hanno on irc

Signed-off-by: aballier@gentoo.org
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 160F534A)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2rtf/latex2rtf-2.3.8.ebuild,v 1.1 2014/12/03 16:14:16 aballier Exp $
4
5 EAPI=5
6
7 inherit toolchain-funcs eutils
8
9 DESCRIPTION="LaTeX to RTF converter"
10 HOMEPAGE="http://latex2rtf.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/latex2rtf/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
15 SLOT="0"
16 IUSE="test"
17 S="${WORKDIR}/${P%b}"
18
19 RDEPEND="virtual/latex-base
20 media-gfx/imagemagick"
21 DEPEND="${RDEPEND}
22 virtual/texi2dvi
23 test? (
24 dev-texlive/texlive-langgerman
25 dev-texlive/texlive-fontsrecommended
26 dev-texlive/texlive-latexextra
27 dev-tex/latex2html
28 )"
29
30 src_prepare() {
31 epatch "${FILESDIR}/texinfo5.patch"
32 }
33
34 src_compile() {
35 export VARTEXFONTS="${T}/fonts"
36 tc-export CC
37 # Set DESTDIR here too so that compiled-in paths are correct.
38 emake DESTDIR="${EPREFIX}/usr" || die "emake failed"
39
40 cd "${S}/doc"
41 emake realclean
42 emake -j1
43 }
44
45 src_install() {
46 dodoc README* HACKING ToDo ChangeLog doc/credits
47 emake DESTDIR="${ED}/usr" -j1 install install-info
48 }

  ViewVC Help
Powered by ViewVC 1.1.20