/[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.11 Revision 1.12
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.11 2012/03/03 22:39:14 caster Exp $ 6# $Header: /var/cvsroot/gentoo-x86/eclass/ant-tasks.eclass,v 1.12 2012/05/30 08:21:18 sera 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
87 ANT_TASK_PV=$(get_version_component_range 1-3) 87 ANT_TASK_PV=$(get_version_component_range 1-3)
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
93 1.8.4)
94 GENTOO_PREFIX="http://dev.gentoo.org/~sera/distfiles"
95 ;;
96 *)
92 GENTOO_PREFIX="http://dev.gentoo.org/~caster/distfiles" 97 GENTOO_PREFIX="http://dev.gentoo.org/~caster/distfiles"
98 ;;
99 esac
93fi 100fi
94 101
95# source/workdir name 102# source/workdir name
96MY_P="apache-ant-${MY_PV}" 103MY_P="apache-ant-${MY_PV}"
97 104

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

  ViewVC Help
Powered by ViewVC 1.1.20