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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Oct 10 12:56:27 2012 UTC (23 months, 3 weeks ago) by aballier
Branch: MAIN
CVS Tags: HEAD
version bump, by  Mario Kicherer, bug #437810

(Portage version: 2.2.0_alpha136/cvs/Linux x86_64)

1 # Copyright 1999-2012 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.2.1b.ebuild,v 1.7 2012/09/09 15:50:33 armin76 Exp $
4
5 EAPI=4
6
7 inherit toolchain-funcs
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="doc test"
17 S="${WORKDIR}/${P%b}"
18
19 RDEPEND="virtual/latex-base
20 media-gfx/imagemagick"
21 DEPEND="${RDEPEND}
22 doc? ( 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_compile() {
31 export VARTEXFONTS="${T}/fonts"
32 # Set DESTDIR here too so that compiled-in paths are correct.
33 emake DESTDIR="${EPREFIX}/usr" CC="$(tc-getCC)" || die "emake failed"
34 if use doc; then
35 cd "${S}/doc"
36 emake realclean
37 emake -j1
38 fi
39 }
40
41 src_install() {
42 dodoc README* HACKING ToDo ChangeLog doc/credits
43 emake DESTDIR="${ED}/usr" -j1 install
44 # if doc is not used, only the text version is intalled.
45 if use doc; then
46 emake DESTDIR="${ED}/usr" install-info
47 fi
48 }

  ViewVC Help
Powered by ViewVC 1.1.20