| 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.1.1.1 2005/11/30 09:59:35 chriswhite Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/latex-package.eclass,v 1.30 2007/10/15 21:53:22 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 | |
| 48 | inherit base |
50 | inherit base |
| 49 | |
51 | |
| 50 | DEPEND="virtual/tetex |
52 | DEPEND="virtual/latex-base |
| 51 | >=sys-apps/texinfo-4.2-r5" |
53 | >=sys-apps/texinfo-4.2-r5" |
| 52 | HOMEPAGE="http://www.tug.org/" |
54 | HOMEPAGE="http://www.tug.org/" |
| 53 | SRC_URI="ftp://tug.ctan.org/macros/latex/" |
55 | SRC_URI="ftp://tug.ctan.org/macros/latex/" |
| 54 | S=${WORKDIR}/${P} |
56 | S=${WORKDIR}/${P} |
| 55 | TEXMF="/usr/share/texmf" |
57 | TEXMF="/usr/share/texmf" |
| … | |
… | |
| 181 | else |
183 | else |
| 182 | texconfig rehash |
184 | texconfig rehash |
| 183 | fi |
185 | fi |
| 184 | } |
186 | } |
| 185 | |
187 | |
| 186 | EXPORT_FUNCTIONS src_compile src_install pkg_postinst pkg_postrm has_tetex_3 |
188 | EXPORT_FUNCTIONS src_compile src_install pkg_postinst pkg_postrm |