/[gentoo-x86]/eclass/latex-package.eclass
Gentoo

Diff of /eclass/latex-package.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.27 Revision 1.31
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2006 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/latex-package.eclass,v 1.27 2006/02/28 11:09:25 nattfodd Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/latex-package.eclass,v 1.31 2007/10/16 20:21:27 aballier Exp $
4# 4#
5# Author Matthew Turk <satai@gentoo.org> 5# Author Matthew Turk <satai@gentoo.org>
6# Martin Ehmsen <ehmsen@gentoo.org>
7# Maintained by the text-markup team <text-markup@gentoo.org>
6# 8#
7# This eClass is designed to be easy to use and implement. The vast majority of 9# This eClass is designed to be easy to use and implement. The vast majority of
8# LaTeX packages will only need to define SRC_URI (and sometimes S) for a 10# LaTeX packages will only need to define SRC_URI (and sometimes S) for a
9# successful installation. If fonts need to be installed, then the variable 11# successful installation. If fonts need to be installed, then the variable
10# SUPPLIER must also be defined. 12# SUPPLIER must also be defined.
45# you must either grab each file individually, or find a place to mirror an 47# you must either grab each file individually, or find a place to mirror an
46# archive of them. (iBiblio) 48# archive of them. (iBiblio)
47 49
48inherit base 50inherit base
49 51
50DEPEND="virtual/tetex 52DEPEND="virtual/latex-base
51 >=sys-apps/texinfo-4.2-r5" 53 >=sys-apps/texinfo-4.2-r5"
52HOMEPAGE="http://www.tug.org/" 54HOMEPAGE="http://www.tug.org/"
53SRC_URI="ftp://tug.ctan.org/macros/latex/" 55SRC_URI="ftp://tug.ctan.org/macros/latex/"
54S=${WORKDIR}/${P} 56S=${WORKDIR}/${P}
55TEXMF="/usr/share/texmf" 57TEXMF="/usr/share/texmf"
56SUPPLIER="misc" # This refers to the font supplier; it should be overridden 58SUPPLIER="misc" # This refers to the font supplier; it should be overridden
57 59
58latex-package_has_tetex_3() { 60latex-package_has_tetex_3() {
59 if has_version '>=app-text/tetex-3' || has_version '>=app-text/ptex-3.1.8' ; then 61 if has_version '>=app-text/tetex-3' || has_version '>=app-text/ptex-3.1.8' || has_version '>=app-text/texlive-core-2007' ; then
60 true 62 true
61 else 63 else
62 false 64 false
63 fi 65 fi
64} 66}

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.31

  ViewVC Help
Powered by ViewVC 1.1.20