/[gentoo-x86]/eclass/texlive-module.eclass
Gentoo

Diff of /eclass/texlive-module.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.43 Revision 1.45
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.45 2010/10/23 23:24:40 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#
173 fi 173 fi
174} 174}
175 175
176# @FUNCTION: texlive-module_make_language_dat_lines 176# @FUNCTION: texlive-module_make_language_dat_lines
177# @DESCRIPTION: 177# @DESCRIPTION:
178# Only valid for TeXLive 2008.
179# Creates a language.${PN}.dat entry to put in /etc/texmf/language.dat.d 178# Creates a language.${PN}.dat entry to put in /etc/texmf/language.dat.d
180# It parses the AddHyphen directive of tlpobj files to create it. 179# It parses the AddHyphen directive of tlpobj files to create it.
181 180
182texlive-module_make_language_dat_lines() { 181texlive-module_make_language_dat_lines() {
183 local lefthyphenmin righthyphenmin synonyms name file file_patterns file_exceptions luaspecial 182 local lefthyphenmin righthyphenmin synonyms name file file_patterns file_exceptions luaspecial
227} 226}
228 227
229# @FUNCTION: texlive-module_src_compile 228# @FUNCTION: texlive-module_src_compile
230# @DESCRIPTION: 229# @DESCRIPTION:
231# exported function: 230# exported function:
232# Will look for format.foo.cnf and build foo format files using fmtutil 231# Generates the config files that are to be installed in /etc/texmf;
232# texmf-update script will take care of merging the different config files for
233# different packages in a single one used by the whole tex installation.
234#
235# 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 236# (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 237# texmf-var/web2c, like fmtutil defaults to but with some trick to stay in the
235# sandbox 238# 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 239
240texlive-module_src_compile() { 240texlive-module_src_compile() {
241 # Generate config files from the tlpobj files provided by TeX Live 2008 and 241 # Generate config files from the tlpobj files provided by TeX Live 2008 and
242 # later 242 # later
243 for i in "${S}"/tlpkg/tlpobj/*; 243 for i in "${S}"/tlpkg/tlpobj/*;

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.45

  ViewVC Help
Powered by ViewVC 1.1.20