| 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.48 2010/10/23 23:28:24 aballier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.49 2010/10/23 23:30:14 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 | # |
| … | |
… | |
| 137 | fi |
137 | fi |
| 138 | |
138 | |
| 139 | # @FUNCTION: texlive-module_add_format |
139 | # @FUNCTION: texlive-module_add_format |
| 140 | # @DESCRIPTION: |
140 | # @DESCRIPTION: |
| 141 | # Creates/appends to a format.${PN}.cnf file for fmtutil. |
141 | # Creates/appends to a format.${PN}.cnf file for fmtutil. |
|
|
142 | # It parses the AddFormat directive of tlpobj files to create it. |
| 142 | # This will make fmtutil generate the formats when asked and allow the remaining |
143 | # This will make fmtutil generate the formats when asked and allow the remaining |
| 143 | # src_compile phase to build the formats |
144 | # src_compile phase to build the formats |
| 144 | |
145 | |
| 145 | texlive-module_add_format() { |
146 | texlive-module_add_format() { |
| 146 | local name engine mode patterns options |
147 | local name engine mode patterns options |