# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/eclass/tetex.eclass,v 1.52 2007/09/04 12:06:58 peper Exp $ # # Author: Jaromir Malenko # Author: Mamoru KOMACHI # Author: Martin Ehmsen # Author: Alexandre Buisse # # A generic eclass to install tetex distributions. This shouldn't be # inherited directly in any ebuilds. It should be inherited from # tetex-{2,3}.eclass. inherit eutils flag-o-matic toolchain-funcs EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_postinst if [ -z "${TETEX_PV}" ] ; then TETEX_PV=${PV} fi IUSE="X doc tk" S=${WORKDIR}/tetex-src-${TETEX_PV} TETEX_SRC="tetex-src-${TETEX_PV}.tar.gz" TETEX_TEXMF="tetex-texmf-${TETEX_PV}.tar.gz" TETEX_TEXMF_SRC="tetex-texmfsrc-${TETEX_PV}.tar.gz" DESCRIPTION="a complete TeX distribution" HOMEPAGE="http://tug.org/teTeX/" SRC_PATH_TETEX=ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib SRC_URI="${SRC_PATH_TETEX}/${TETEX_SRC} ${SRC_PATH_TETEX}/${TETEX_TEXMF} ${SRC_PATH_TETEX}/${TETEX_TEXMF_SRC} mirror://gentoo/tetex-${TETEX_PV}-gentoo.tar.gz http://dev.gentoo.org/~usata/distfiles/tetex-${TETEX_PV}-gentoo.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="~ia64 ~x86 ~ppc ~sparc ~alpha ~amd64" # tetex, ptex, cstetex must not block itself, fix for bug 121727 if [[ "${PN}" = "tetex" ]] ; then # >=app-text/ptex-3.1.9 work with app-text/tetex DEPEND="!=app-text/ptex-3.1.9 does not co-exist with tetex-2 DEPEND="!