| 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.51 2010/10/23 23:37:24 aballier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.52 2010/10/23 23:51:01 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 | # |
| … | |
… | |
| 105 | # @FUNCTION: texlive-module_src_unpack |
105 | # @FUNCTION: texlive-module_src_unpack |
| 106 | # @DESCRIPTION: |
106 | # @DESCRIPTION: |
| 107 | # Only for TeX Live 2009 and later. |
107 | # Only for TeX Live 2009 and later. |
| 108 | # Gives tar.xz unpack support until we can use an EAPI with that support. |
108 | # Gives tar.xz unpack support until we can use an EAPI with that support. |
| 109 | # If EAPI supports tar.xz then it calls unpack instead of its own unpacker. |
109 | # If EAPI supports tar.xz then it calls unpack instead of its own unpacker. |
| 110 | # After unpacking, the files that need to relocated are moved accordingly. |
110 | # After unpacking, the files that need to be relocated are moved accordingly. |
| 111 | |
111 | |
| 112 | RELOC_TARGET=texmf-dist |
112 | RELOC_TARGET=texmf-dist |
| 113 | |
113 | |
| 114 | texlive-module_src_unpack() { |
114 | texlive-module_src_unpack() { |
| 115 | if has "${EAPI:-0}" 0 1 2 ; then |
115 | if has "${EAPI:-0}" 0 1 2 ; then |