/[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.34 Revision 1.35
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.34 2009/09/02 21:41:29 betelgeuse Exp $ 8# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.35 2010/02/01 09:38:44 caster Exp $
9 9
10inherit java-utils-2 10inherit java-utils-2
11 11
12# ----------------------------------------------------------------------------- 12# -----------------------------------------------------------------------------
13# @eclass-begin 13# @eclass-begin
47if [[ ${CATEGORY} = dev-java && ${PN} = commons-* ]]; then 47if [[ ${CATEGORY} = dev-java && ${PN} = commons-* ]]; then
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
52case "${EAPI:-0}" in
52EXPORT_FUNCTIONS pkg_setup src_compile pkg_preinst 53 0|1) EXPORT_FUNCTIONS pkg_setup src_compile pkg_preinst ;;
53[[ "${EAPI:-0}" == "2" ]] && EXPORT_FUNCTIONS src_prepare 54 *) EXPORT_FUNCTIONS pkg_setup src_prepare src_compile pkg_preinst ;;
55esac
54 56
55# ------------------------------------------------------------------------------ 57# ------------------------------------------------------------------------------
56# @eclass-pkg_setup 58# @eclass-pkg_setup
57# 59#
58# pkg_setup initializes the Java environment 60# pkg_setup initializes the Java environment

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35

  ViewVC Help
Powered by ViewVC 1.1.20