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

Diff of /eclass/texlive-common.eclass

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

Revision 1.12 Revision 1.13
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-common.eclass,v 1.12 2010/01/09 16:03:22 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-common.eclass,v 1.13 2010/10/24 04:35:59 aballier Exp $
4 4
5# @ECLASS: texlive-common.eclass 5# @ECLASS: texlive-common.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# tex@gentoo.org 7# tex@gentoo.org
8# 8#
117 117
118dobin_texmf_scripts() { 118dobin_texmf_scripts() {
119 while [ $# -gt 0 ] ; do 119 while [ $# -gt 0 ] ; do
120 local trg=$(basename ${1} | sed 's,\.[^/]*$,,' | tr '[:upper:]' '[:lower:]') 120 local trg=$(basename ${1} | sed 's,\.[^/]*$,,' | tr '[:upper:]' '[:lower:]')
121 einfo "Installing ${1} as ${trg} bin wrapper" 121 einfo "Installing ${1} as ${trg} bin wrapper"
122 if [ "${PV#2008}" = "${PV}" -a "${PV#2009}" = "${PV}" ] ; then
123 [ -x "${D}/usr/share/${1}" ] || die "Trying to install a non existing or non executable symlink to /usr/bin: ${1}"
124 fi
122 dosym ../share/${1} /usr/bin/${trg} || die "failed to install ${1} as $trg" 125 dosym ../share/${1} /usr/bin/${trg} || die "failed to install ${1} as $trg"
123 shift 126 shift
124 done 127 done
125} 128}

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20