/[gentoo-x86]/eclass/ant-tasks.eclass
Gentoo

Diff of /eclass/ant-tasks.eclass

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

Revision 1.13 Revision 1.14
1# Eclass for building dev-java/ant-* packages 1# Eclass for building dev-java/ant-* packages
2# 2#
3# Copyright 1999-2012 Gentoo Foundation 3# Copyright 1999-2012 Gentoo Foundation
4# Distributed under the terms of the GNU General Public License, v2 or later 4# Distributed under the terms of the GNU General Public License, v2 or later
5# Author Vlastimil Babka <caster@gentoo.org> 5# Author Vlastimil Babka <caster@gentoo.org>
6# $Header: /var/cvsroot/gentoo-x86/eclass/ant-tasks.eclass,v 1.13 2012/06/01 12:19:42 sera Exp $ 6# $Header: /var/cvsroot/gentoo-x86/eclass/ant-tasks.eclass,v 1.14 2013/07/05 10:44:47 tomwij Exp $
7 7
8# we set ant-core dep ourselves, restricted 8# we set ant-core dep ourselves, restricted
9JAVA_ANT_DISABLE_ANT_CORE_DEP=true 9JAVA_ANT_DISABLE_ANT_CORE_DEP=true
10# rewriting build.xml for are the testcases has no reason atm 10# rewriting build.xml for are the testcases has no reason atm
11JAVA_PKG_BSFIX_ALL=no 11JAVA_PKG_BSFIX_ALL=no
23# 23#
24# ----------------------------------------------------------------------------- 24# -----------------------------------------------------------------------------
25 25
26# ----------------------------------------------------------------------------- 26# -----------------------------------------------------------------------------
27# @variable-preinherit ANT_TASK_JDKVER 27# @variable-preinherit ANT_TASK_JDKVER
28# @variable-default 1.4 28# @variable-default 1.5
29# 29#
30# Affects the >=virtual/jdk version set in DEPEND string. Defaults to 1.4, can 30# Affects the >=virtual/jdk version set in DEPEND string. Defaults to 1.5, can
31# be overriden from ebuild BEFORE inheriting this eclass. 31# be overriden from ebuild BEFORE inheriting this eclass.
32# ----------------------------------------------------------------------------- 32# -----------------------------------------------------------------------------
33ANT_TASK_JDKVER=${ANT_TASK_JDKVER-1.4} 33ANT_TASK_JDKVER=${ANT_TASK_JDKVER-1.5}
34 34
35# ----------------------------------------------------------------------------- 35# -----------------------------------------------------------------------------
36# @variable-preinherit ANT_TASK_JREVER 36# @variable-preinherit ANT_TASK_JREVER
37# @variable-default 1.4 37# @variable-default 1.5
38# 38#
39# Affects the >=virtual/jre version set in DEPEND string. Defaults to 1.4, can 39# Affects the >=virtual/jre version set in DEPEND string. Defaults to 1.5, can
40# be overriden from ebuild BEFORE inheriting this eclass. 40# be overriden from ebuild BEFORE inheriting this eclass.
41# ----------------------------------------------------------------------------- 41# -----------------------------------------------------------------------------
42ANT_TASK_JREVER=${ANT_TASK_JREVER-1.4} 42ANT_TASK_JREVER=${ANT_TASK_JREVER-1.5}
43 43
44# ----------------------------------------------------------------------------- 44# -----------------------------------------------------------------------------
45# @variable-internal ANT_TASK_NAME 45# @variable-internal ANT_TASK_NAME
46# @variable-default the rest of $PN after "ant-" 46# @variable-default the rest of $PN after "ant-"
47# 47#
88else 88else
89 # default for final releases 89 # default for final releases
90 MY_PV=${PV} 90 MY_PV=${PV}
91 UPSTREAM_PREFIX="mirror://apache/ant/source" 91 UPSTREAM_PREFIX="mirror://apache/ant/source"
92 case ${PV} in 92 case ${PV} in
93 1.9.1)
94 GENTOO_PREFIX="http://dev.gentoo.org/~tomwij/files/dist"
95 ;;
93 1.8.4) 96 1.8.4)
94 GENTOO_PREFIX="http://dev.gentoo.org/~sera/distfiles" 97 GENTOO_PREFIX="http://dev.gentoo.org/~sera/distfiles"
95 ;; 98 ;;
96 *) 99 *)
97 GENTOO_PREFIX="http://dev.gentoo.org/~caster/distfiles" 100 GENTOO_PREFIX="http://dev.gentoo.org/~caster/distfiles"
109HOMEPAGE="http://ant.apache.org/" 112HOMEPAGE="http://ant.apache.org/"
110SRC_URI="${UPSTREAM_PREFIX}/${MY_P}-src.tar.bz2 113SRC_URI="${UPSTREAM_PREFIX}/${MY_P}-src.tar.bz2
111 ${GENTOO_PREFIX}/ant-${PV}-gentoo.tar.bz2" 114 ${GENTOO_PREFIX}/ant-${PV}-gentoo.tar.bz2"
112LICENSE="Apache-2.0" 115LICENSE="Apache-2.0"
113SLOT="0" 116SLOT="0"
114IUSE=""
115 117
116RDEPEND="~dev-java/ant-core-${PV}" 118RDEPEND="~dev-java/ant-core-${PV}"
117DEPEND="${RDEPEND}" 119DEPEND="${RDEPEND}"
118 120
119if [[ -z "${ANT_TASK_DISABLE_VM_DEPS}" ]]; then 121if [[ -z "${ANT_TASK_DISABLE_VM_DEPS}" ]]; then

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

  ViewVC Help
Powered by ViewVC 1.1.20