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

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

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

Revision 1.2 Revision 1.3
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 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-virtuals-2.eclass,v 1.2 2007/10/09 09:45:46 ali_bush Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/java-virtuals-2.eclass,v 1.3 2007/10/09 09:57:25 ali_bush Exp $
4 4
5# Original Author: Alistair John Bush <ali_bush@gentoo.org> 5# Original Author: Alistair John Bush <ali_bush@gentoo.org>
6# Purpose: To provide a default (and only) src_install function 6# Purpose: To provide a default (and only) src_install function
7# for ebuilds in the java-virtuals category. 7# for ebuilds in the java-virtuals category.
8 8
22# ------------------------------------------------------------------------------ 22# ------------------------------------------------------------------------------
23java-virtuals-2_do_write() { 23java-virtuals-2_do_write() {
24 java-pkg_init_paths_ 24 java-pkg_init_paths_
25 25
26 dodir "${JAVA_PKG_VIRTUALS_PATH}" 26 dodir "${JAVA_PKG_VIRTUALS_PATH}"
27 ( 27 {
28 if [[ -n "${JAVA_VIRTUAL_PROVIDES}" ]]; then 28 if [[ -n "${JAVA_VIRTUAL_PROVIDES}" ]]; then
29 echo "PROVIDERS=\"${JAVA_VIRTUAL_PROVIDES}\"" 29 echo "PROVIDERS=\"${JAVA_VIRTUAL_PROVIDES}\""
30 fi 30 fi
31 31
32 if [[ -n "${JAVA_VIRTUAL_VM}" ]]; then 32 if [[ -n "${JAVA_VIRTUAL_VM}" ]]; then
34 fi 34 fi
35 35
36 if [[ -n "${JAVA_VIRTUAL_VM_CLASSPATH}" ]]; then 36 if [[ -n "${JAVA_VIRTUAL_VM_CLASSPATH}" ]]; then
37 echo "VM_CLASSPATH=\"${JAVA_VIRTUAL_VM_CLASSPATH}\"" 37 echo "VM_CLASSPATH=\"${JAVA_VIRTUAL_VM_CLASSPATH}\""
38 fi 38 fi
39 ) > "${JAVA_PKG_VIRTUAL_PROVIDER}" 39 } > "${JAVA_PKG_VIRTUAL_PROVIDER}"
40} 40}

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20