| 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.42 2010/10/23 23:19:29 aballier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.43 2010/10/23 23:21:10 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 | # |
| … | |
… | |
| 236 | # The next step is to generate config files that are to be installed in |
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 |
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. |
238 | # files for different packages in a single one used by the whole tex installation. |
| 239 | |
239 | |
| 240 | texlive-module_src_compile() { |
240 | texlive-module_src_compile() { |
| 241 | # Generate config files |
241 | # Generate config files from the tlpobj files provided by TeX Live 2008 and |
| 242 | # TeX Live 2007 was providing lists. For 2008 they are now tlpobj. |
242 | # later |
| 243 | for i in "${S}"/tlpkg/tlpobj/*; |
243 | for i in "${S}"/tlpkg/tlpobj/*; |
| 244 | do |
244 | do |
| 245 | grep '^execute ' "${i}" | sed -e 's/^execute //' | tr ' \t' '@@' |sort|uniq >> "${T}/jobs" |
245 | grep '^execute ' "${i}" | sed -e 's/^execute //' | tr ' \t' '@@' |sort|uniq >> "${T}/jobs" |
| 246 | done |
246 | done |
| 247 | |
247 | |