| 1 | # Copyright 1999-2008 Gentoo Foundation |
1 | # Copyright 1999-2008 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/texlive-module.eclass,v 1.39 2010/10/23 21:48:18 aballier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.40 2010/10/23 22:41:44 aballier Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: texlive-module.eclass |
5 | # @ECLASS: texlive-module.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # tex@gentoo.org |
7 | # tex@gentoo.org |
| 8 | # |
8 | # |
| … | |
… | |
| 12 | # Purpose: Provide generic install functions so that modular texlive's texmf ebuilds will |
12 | # Purpose: Provide generic install functions so that modular texlive's texmf ebuilds will |
| 13 | # only have to inherit this eclass. |
13 | # only have to inherit this eclass. |
| 14 | # Ebuilds have to provide TEXLIVE_MODULE_CONTENTS variable that contains the list |
14 | # Ebuilds have to provide TEXLIVE_MODULE_CONTENTS variable that contains the list |
| 15 | # of packages that it will install. (See below) |
15 | # of packages that it will install. (See below) |
| 16 | # |
16 | # |
| 17 | # What is assumed is that it unpacks texmf and texmf-dist directories to |
17 | # For TeX Live versions prior to 2009, the ebuild was supposed to unpack the |
| 18 | # ${WORKDIR}. |
18 | # texmf and texmf-dist directories to ${WORKDIR} (which is what the default |
|
|
19 | # src_unpack does). |
|
|
20 | # Starting from TeX Live 2009, the eclass provides a src_unpack function taking |
|
|
21 | # care of unpacking and relocating the files that need it. |
| 19 | # |
22 | # |
| 20 | # It inherits texlive-common |
23 | # It inherits texlive-common |
| 21 | |
24 | |
| 22 | # @ECLASS-VARIABLE: TEXLIVE_MODULE_CONTENTS |
25 | # @ECLASS-VARIABLE: TEXLIVE_MODULE_CONTENTS |
| 23 | # @DESCRIPTION: |
26 | # @DESCRIPTION: |