| 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.22 2009/06/21 10:34:44 aballier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.23 2009/08/10 07:38:02 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 | # |
| … | |
… | |
| 139 | texlive-module_src_compile() { |
139 | texlive-module_src_compile() { |
| 140 | # Build format files |
140 | # Build format files |
| 141 | for i in texmf/fmtutil/format*.cnf; do |
141 | for i in texmf/fmtutil/format*.cnf; do |
| 142 | if [ -f "${i}" ]; then |
142 | if [ -f "${i}" ]; then |
| 143 | einfo "Building format ${i}" |
143 | einfo "Building format ${i}" |
| 144 | TEXMFHOME="${S}/texmf:${S}/texmf-dist:${S}/texmf-var"\ |
144 | VARTEXFONTS="${T}/fonts" TEXMFHOME="${S}/texmf:${S}/texmf-dist:${S}/texmf-var"\ |
| 145 | fmtutil --cnffile "${i}" --fmtdir "${S}/texmf-var/web2c" --all\ |
145 | fmtutil --cnffile "${i}" --fmtdir "${S}/texmf-var/web2c" --all\ |
| 146 | || die "failed to build format ${i}" |
146 | || die "failed to build format ${i}" |
| 147 | fi |
147 | fi |
| 148 | done |
148 | done |
| 149 | |
149 | |