/[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.29 Revision 1.30
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.29 2008/07/18 22:53:20 betelgeuse Exp $ 8# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.30 2008/10/11 21:07:13 caster Exp $
9 9
10inherit java-utils-2 10inherit java-utils-2
11 11
12# ----------------------------------------------------------------------------- 12# -----------------------------------------------------------------------------
13# @eclass-begin 13# @eclass-begin
48 HOMEPAGE="http://commons.apache.org/${PN#commons-}/" 48 HOMEPAGE="http://commons.apache.org/${PN#commons-}/"
49 SRC_URI="mirror://apache/${PN/-///}/source/${P}-src.tar.gz" 49 SRC_URI="mirror://apache/${PN/-///}/source/${P}-src.tar.gz"
50fi 50fi
51 51
52EXPORT_FUNCTIONS pkg_setup src_compile pkg_preinst 52EXPORT_FUNCTIONS pkg_setup src_compile pkg_preinst
53[[ "${EAPI:-0}" == "2" ]] && EXPORT_FUNCTIONS src_prepare
53 54
54# ------------------------------------------------------------------------------ 55# ------------------------------------------------------------------------------
55# @eclass-pkg_setup 56# @eclass-pkg_setup
56# 57#
57# pkg_setup initializes the Java environment 58# pkg_setup initializes the Java environment
58# ------------------------------------------------------------------------------ 59# ------------------------------------------------------------------------------
59java-pkg-2_pkg_setup() { 60java-pkg-2_pkg_setup() {
60 java-pkg_init 61 java-pkg_init
61 java-pkg_ensure-test 62 java-pkg_ensure-test
63}
64
65# ------------------------------------------------------------------------------
66# @eclass-src_prepare
67#
68# wrapper for java-utils-2_src_prepare
69# ------------------------------------------------------------------------------
70java-pkg-2_src_prepare() {
71 java-utils-2_src_prepare
62} 72}
63 73
64# ------------------------------------------------------------------------------ 74# ------------------------------------------------------------------------------
65# @eclass-src_compile 75# @eclass-src_compile
66# 76#

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

  ViewVC Help
Powered by ViewVC 1.1.20