/[gentoo-x86]/eclass/java-vm-2.eclass
Gentoo

Diff of /eclass/java-vm-2.eclass

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

Revision 1.29 Revision 1.30
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 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/java-vm-2.eclass,v 1.29 2009/10/11 11:46:59 maekke Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/java-vm-2.eclass,v 1.30 2010/03/27 22:23:57 caster Exp $
4 4
5# ----------------------------------------------------------------------------- 5# -----------------------------------------------------------------------------
6# @eclass-begin 6# @eclass-begin
7# @eclass-shortdesc Java Virtual Machine eclass 7# @eclass-shortdesc Java Virtual Machine eclass
8# @eclass-maintainer java@gentoo.org 8# @eclass-maintainer java@gentoo.org
10# This eclass provides functionality which assists with installing 10# This eclass provides functionality which assists with installing
11# virtual machines, and ensures that they are recognized by java-config. 11# virtual machines, and ensures that they are recognized by java-config.
12# 12#
13# ----------------------------------------------------------------------------- 13# -----------------------------------------------------------------------------
14 14
15inherit eutils fdo-mime 15inherit eutils fdo-mime multilib
16 16
17DEPEND="=dev-java/java-config-2*" 17DEPEND="=dev-java/java-config-2*"
18hasq "${EAPI}" 0 1 && DEPEND="${DEPEND} >=sys-apps/portage-2.1" 18hasq "${EAPI}" 0 1 && DEPEND="${DEPEND} >=sys-apps/portage-2.1"
19 19
20RDEPEND=" 20RDEPEND="
129 -e "s/@P@/${P}/g" \ 129 -e "s/@P@/${P}/g" \
130 -e "s/@PN@/${PN}/g" \ 130 -e "s/@PN@/${PN}/g" \
131 -e "s/@PV@/${PV}/g" \ 131 -e "s/@PV@/${PV}/g" \
132 -e "s/@PF@/${PF}/g" \ 132 -e "s/@PF@/${PF}/g" \
133 -e "s/@PLATFORM@/${platform}/g" \ 133 -e "s/@PLATFORM@/${platform}/g" \
134 -e "s/@LIBDIR@/$(get_libdir)/g" \
134 -e "/^LDPATH=.*lib\\/\\\"/s|\"\\(.*\\)\"|\"\\1${platform}/:\\1${platform}/server/\"|" \ 135 -e "/^LDPATH=.*lib\\/\\\"/s|\"\\(.*\\)\"|\"\\1${platform}/:\\1${platform}/server/\"|" \
135 < ${source_env_file} \ 136 < ${source_env_file} \
136 > ${env_file} || die "sed failed" 137 > ${env_file} || die "sed failed"
137 138
138 ( 139 (

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

  ViewVC Help
Powered by ViewVC 1.1.20