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

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

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

Revision 1.12 Revision 1.13
3# Copyright (c) 2004-2005, Thomas Matthijs <axxo@gentoo.org> 3# Copyright (c) 2004-2005, Thomas Matthijs <axxo@gentoo.org>
4# Copyright (c) 2004-2005, Gentoo Foundation 4# Copyright (c) 2004-2005, Gentoo Foundation
5# 5#
6# Licensed under the GNU General Public License, v2 6# Licensed under the GNU General Public License, v2
7# 7#
8# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.12 2007/01/12 16:12:15 betelgeuse Exp $ 8# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.13 2007/01/16 21:11:29 betelgeuse Exp $
9 9
10inherit java-utils-2 10inherit java-utils-2
11
12ECLASS="java-pkg-2"
13INHERITED="${INHERITED} ${ECLASS}"
11 14
12# ----------------------------------------------------------------------------- 15# -----------------------------------------------------------------------------
13# @eclass-begin 16# @eclass-begin
14# @eclass-summary Eclass for Java Packages 17# @eclass-summary Eclass for Java Packages
15# 18#
16# This eclass should be inherited for pure Java packages, or by packages which 19# This eclass should be inherited for pure Java packages, or by packages which
17# need to use Java. 20# need to use Java.
18# ----------------------------------------------------------------------------- 21# -----------------------------------------------------------------------------
19 22
20# ------------------------------------------------------------------------------ 23# ------------------------------------------------------------------------------
24# @IUSE
25#
26# ebuilds using this eclass can set JAVA_PKG_IUSE and then this eclass
27# will automatically add deps for them.
28#
29# ------------------------------------------------------------------------------
30IUSE="${JAVA_PKG_IUSE}"
31
32# ------------------------------------------------------------------------------
21# @depend 33# @depend
22# 34#
23# Java packages need java-config, and a fairly new release of Portage. 35# Java packages need java-config, and a fairly new release of Portage.
24# 36#
25# JAVA_PKG_E_DEPEND is defined in java-utils.eclass. 37# JAVA_PKG_E_DEPEND is defined in java-utils.eclass.
26# ------------------------------------------------------------------------------ 38# ------------------------------------------------------------------------------
27DEPEND="${JAVA_PKG_E_DEPEND}" 39DEPEND="${JAVA_PKG_E_DEPEND}"
40
41hasq source ${JAVA_PKG_IUSE} && DEPEND="${DEPEND} source? ( app-arch/zip )"
28 42
29# ------------------------------------------------------------------------------ 43# ------------------------------------------------------------------------------
30# @rdepend 44# @rdepend
31# 45#
32# Nothing special for RDEPEND... just the same as DEPEND. 46# Nothing special for RDEPEND... just the same as DEPEND.

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20