/[gentoo-x86]/eclass/java-pkg-opt-2.eclass
Gentoo

Diff of /eclass/java-pkg-opt-2.eclass

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

Revision 1.9 Revision 1.10
8# Major changes: 8# Major changes:
9# 20070805: 9# 20070805:
10# Removed phase hooks because Portage does proper env saving now. 10# Removed phase hooks because Portage does proper env saving now.
11# <betelgeuse@gentoo.org> 11# <betelgeuse@gentoo.org>
12# 12#
13# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-opt-2.eclass,v 1.9 2008/01/06 19:30:24 swegener Exp $ 13# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-opt-2.eclass,v 1.10 2008/10/11 21:07:13 caster Exp $
14 14
15inherit java-utils-2 15inherit java-utils-2
16 16
17# ------------------------------------------------------------------------------ 17# ------------------------------------------------------------------------------
18# @eclass-begin 18# @eclass-begin
35# ------------------------------------------------------------------------------ 35# ------------------------------------------------------------------------------
36# See java-pkg-2.eclass for JAVA_PKG_IUSE documentation 36# See java-pkg-2.eclass for JAVA_PKG_IUSE documentation
37IUSE="${JAVA_PKG_IUSE} ${JAVA_PKG_OPT_USE}" 37IUSE="${JAVA_PKG_IUSE} ${JAVA_PKG_OPT_USE}"
38 38
39EXPORT_FUNCTIONS pkg_setup 39EXPORT_FUNCTIONS pkg_setup
40[[ "${EAPI:-0}" == "2" ]] && EXPORT_FUNCTIONS src_prepare
40 41
41# ------------------------------------------------------------------------------ 42# ------------------------------------------------------------------------------
42# ------------------------------------------------------------------------------ 43# ------------------------------------------------------------------------------
43java-pkg-opt-2_pkg_setup() { 44java-pkg-opt-2_pkg_setup() {
44 use ${JAVA_PKG_OPT_USE} && java-pkg_init 45 use ${JAVA_PKG_OPT_USE} && java-pkg_init
45} 46}
47
48# ------------------------------------------------------------------------------
49# @eclass-src_prepare
50#
51# wrapper for java-utils-2_src_prepare
52# ------------------------------------------------------------------------------
53java-pkg-opt-2_src_prepare() {
54 use ${JAVA_PKG_OPT_USE} && java-utils-2_src_prepare
55}

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

  ViewVC Help
Powered by ViewVC 1.1.20