/[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.6 Revision 1.9
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2012 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.6 2009/08/27 21:49:04 ali_bush Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/java-virtuals-2.eclass,v 1.9 2012/07/18 19:13:23 sera Exp $
4 4
5# @ECLASS: java-virtuals-2.eclass
6# @MAINTAINER:
7# java@gentoo.org
8# @AUTHOR:
5# Original Author: Alistair John Bush <ali_bush@gentoo.org> 9# Original Author: Alistair John Bush <ali_bush@gentoo.org>
10# @BLURB: Java virtuals eclass
11# @DESCRIPTION:
6# Purpose: To provide a default (and only) src_install function 12# To provide a default (and only) src_install function for ebuilds in the
7# for ebuilds in the java-virtuals category. 13# java-virtuals category.
8 14
9inherit java-utils-2 15inherit java-utils-2
10 16
11DEPEND=">=dev-java/java-config-2.1.6" 17DEPEND=">=dev-java/java-config-2.1.6"
12RDEPEND="${DEPEND}" 18RDEPEND="${DEPEND}"
13 19
20S="${WORKDIR}"
21
14EXPORT_FUNCTIONS src_install 22EXPORT_FUNCTIONS src_install
23
24# @FUNCTION: java-virtuals-2_src_install
25# @DESCRIPTION:
26# default src_install
15 27
16java-virtuals-2_src_install() { 28java-virtuals-2_src_install() {
17 java-virtuals-2_do_write 29 java-virtuals-2_do_write
18} 30}
19 31
20# ------------------------------------------------------------------------------ 32# @FUNCTION: java-pkg_do_virtuals_write
21# @internal-function java-pkg_do_virtuals_write 33# @INTERNAL
22# 34# @DESCRIPTION:
23# Writes the virtual env file out to disk. 35# Writes the virtual env file out to disk.
24# 36
25# ------------------------------------------------------------------------------
26java-virtuals-2_do_write() { 37java-virtuals-2_do_write() {
27 java-pkg_init_paths_ 38 java-pkg_init_paths_
28 39
29 dodir "${JAVA_PKG_VIRTUALS_PATH}" 40 dodir "${JAVA_PKG_VIRTUALS_PATH}"
30 { 41 {

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20