/[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.45 Revision 1.47
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.45 2010/10/23 23:24:40 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.47 2010/10/23 23:26:38 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#
60 60
61COMMON_DEPEND=">=app-text/texlive-core-${TL_PV:-${PV}}" 61COMMON_DEPEND=">=app-text/texlive-core-${TL_PV:-${PV}}"
62 62
63IUSE="source" 63IUSE="source"
64 64
65# TeX Live 2008 was providing .tar.lzma files of CTAN packages. For 2009 they are now 65# TeX Live 2008 was providing .tar.lzma files of CTAN packages.
66# .tar.xz 66# For 2009 and 2010 they are now .tar.xz
67if [ "${PV#2008}" != "${PV}" ]; then 67if [ "${PV#2008}" != "${PV}" ]; then
68 PKGEXT=tar.lzma 68 PKGEXT=tar.lzma
69 DEPEND="${COMMON_DEPEND} 69 DEPEND="${COMMON_DEPEND}
70 || ( app-arch/xz-utils app-arch/lzma-utils )" 70 || ( app-arch/xz-utils app-arch/lzma-utils )"
71else 71else
102 102
103if [ "${PV#2008}" = "${PV}" ]; then 103if [ "${PV#2008}" = "${PV}" ]; then
104 104
105# @FUNCTION: texlive-module_src_unpack 105# @FUNCTION: texlive-module_src_unpack
106# @DESCRIPTION: 106# @DESCRIPTION:
107# Only for TeX Live 2009. 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 109
110RELOC_TARGET=texmf-dist 110RELOC_TARGET=texmf-dist
111 111
112texlive-module_src_unpack() { 112texlive-module_src_unpack() {

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

  ViewVC Help
Powered by ViewVC 1.1.20