| 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.43 2010/10/23 23:21:10 aballier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.44 2010/10/23 23:22:47 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 | # |
| … | |
… | |
| 227 | } |
227 | } |
| 228 | |
228 | |
| 229 | # @FUNCTION: texlive-module_src_compile |
229 | # @FUNCTION: texlive-module_src_compile |
| 230 | # @DESCRIPTION: |
230 | # @DESCRIPTION: |
| 231 | # exported function: |
231 | # exported function: |
| 232 | # Will look for format.foo.cnf and build foo format files using fmtutil |
232 | # Generates the config files that are to be installed in /etc/texmf; |
|
|
233 | # texmf-update script will take care of merging the different config files for |
|
|
234 | # different packages in a single one used by the whole tex installation. |
|
|
235 | # |
|
|
236 | # Once the config files are generated, we build the format files using fmtutil |
| 233 | # (provided by texlive-core). The compiled format files will be sent to |
237 | # (provided by texlive-core). The compiled format files will be sent to |
| 234 | # texmf-var/web2c, like fmtutil defaults to but with some trick to stay in the |
238 | # texmf-var/web2c, like fmtutil defaults to but with some trick to stay in the |
| 235 | # sandbox |
239 | # sandbox. |
| 236 | # The next step is to generate config files that are to be installed in |
|
|
| 237 | # /etc/texmf; texmf-update script will take care of merging the different config |
|
|
| 238 | # files for different packages in a single one used by the whole tex installation. |
|
|
| 239 | |
240 | |
| 240 | texlive-module_src_compile() { |
241 | texlive-module_src_compile() { |
| 241 | # Generate config files from the tlpobj files provided by TeX Live 2008 and |
242 | # Generate config files from the tlpobj files provided by TeX Live 2008 and |
| 242 | # later |
243 | # later |
| 243 | for i in "${S}"/tlpkg/tlpobj/*; |
244 | for i in "${S}"/tlpkg/tlpobj/*; |