/[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.8 Revision 1.9
1# Copyright 1999-2012 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.8 2012/01/13 09:59:10 sera 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
14S="${WORKDIR}" 20S="${WORKDIR}"
15 21
16EXPORT_FUNCTIONS src_install 22EXPORT_FUNCTIONS src_install
17 23
24# @FUNCTION: java-virtuals-2_src_install
25# @DESCRIPTION:
26# default src_install
27
18java-virtuals-2_src_install() { 28java-virtuals-2_src_install() {
19 java-virtuals-2_do_write 29 java-virtuals-2_do_write
20} 30}
21 31
22# ------------------------------------------------------------------------------ 32# @FUNCTION: java-pkg_do_virtuals_write
23# @internal-function java-pkg_do_virtuals_write 33# @INTERNAL
24# 34# @DESCRIPTION:
25# Writes the virtual env file out to disk. 35# Writes the virtual env file out to disk.
26# 36
27# ------------------------------------------------------------------------------
28java-virtuals-2_do_write() { 37java-virtuals-2_do_write() {
29 java-pkg_init_paths_ 38 java-pkg_init_paths_
30 39
31 dodir "${JAVA_PKG_VIRTUALS_PATH}" 40 dodir "${JAVA_PKG_VIRTUALS_PATH}"
32 { 41 {

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

  ViewVC Help
Powered by ViewVC 1.1.20