summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-10-30 01:18:20 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-10-30 01:18:20 +0000
commit8f27dfebf4c96692d8dd3fc45b3dcb670bd6b79f (patch)
treeeda8bd73bef9d6804c4428d41237199266801a8f /dev-java
parentFix for bug #197410, removing linking to boost for not use qt4 (diff)
downloadgentoo-2-8f27dfebf4c96692d8dd3fc45b3dcb670bd6b79f.tar.gz
gentoo-2-8f27dfebf4c96692d8dd3fc45b3dcb670bd6b79f.tar.bz2
gentoo-2-8f27dfebf4c96692d8dd3fc45b3dcb670bd6b79f.zip
Add missing dependency on xml-commons-external and switch to from source sun-jaf.
(Portage version: 2.1.3.16)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/ant-tasks/ChangeLog11
-rw-r--r--dev-java/ant-tasks/ant-tasks-1.6.5-r4.ebuild108
-rw-r--r--dev-java/ant-tasks/files/digest-ant-tasks-1.6.5-r43
3 files changed, 121 insertions, 1 deletions
diff --git a/dev-java/ant-tasks/ChangeLog b/dev-java/ant-tasks/ChangeLog
index 614c703bba4e..2ddafe6c2939 100644
--- a/dev-java/ant-tasks/ChangeLog
+++ b/dev-java/ant-tasks/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-java/ant-tasks
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-tasks/ChangeLog,v 1.66 2007/05/12 18:21:23 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-tasks/ChangeLog,v 1.67 2007/10/30 01:18:19 betelgeuse Exp $
+
+*ant-tasks-1.6.5-r4 (30 Oct 2007)
+
+ 30 Oct 2007; Petteri Räty <betelgeuse@gentoo.org>
+ +ant-tasks-1.6.5-r4.ebuild:
+ Add missing dependency on xml-commons-external and switch to from source
+ sun-jaf.
12 May 2007; William L. Thomson Jr. <wltjr@gentoo.org>
ant-tasks-1.7.0-r2.ebuild:
@@ -159,6 +166,8 @@
ant-tasks-1.6.5-r2.ebuild:
Replace arch with uname -m for Gentoo/FreeBSD compatibility. See bug #141422.
+*ant-tasks-1.6.5-r2 (26 Jun 2006)
+
26 Jun 2006; Joshua Nichols <nichoj@gentoo.org>
+ant-tasks-1.6.5-r2.ebuild:
Revision bump to add support for new Java system.
diff --git a/dev-java/ant-tasks/ant-tasks-1.6.5-r4.ebuild b/dev-java/ant-tasks/ant-tasks-1.6.5-r4.ebuild
new file mode 100644
index 000000000000..0d0adc53104f
--- /dev/null
+++ b/dev-java/ant-tasks/ant-tasks-1.6.5-r4.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-tasks/ant-tasks-1.6.5-r4.ebuild,v 1.1 2007/10/30 01:18:19 betelgeuse Exp $
+
+inherit java-pkg-2 eutils
+
+MY_PV=${PV/_/}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Apache ANT Optional Tasks Jar Files"
+HOMEPAGE="http://ant.apache.org/"
+SRC_URI="mirror://apache/ant/source/apache-ant-${PV}-src.tar.bz2"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="javamail noantlr nobcel nobeanutils nobsh nobsf nocommonsnet nocommonslogging nojdepend nojsch nojython nolog4j nooro noregexp norhino noxalan noxerces"
+
+CDEPEND="=dev-java/ant-core-${PV}*
+ >=dev-java/junit-3.8
+ !nolog4j? ( >=dev-java/log4j-1.2.8 )
+ !noxerces? ( >=dev-java/xerces-2.7.1 =dev-java/xml-commons-external-1.3* )
+ !noxalan? ( >=dev-java/xalan-2.5.2 )
+ !nobsh? ( >=dev-java/bsh-1.2-r7 )
+ !nobsf? ( >=dev-java/bsf-2.3.0-r2 )
+ !noantlr? ( >=dev-java/antlr-2.7.2 )
+ !nobeanutils? ( =dev-java/commons-beanutils-1.6* )
+ !nocommonslogging? ( >=dev-java/commons-logging-1.0.3 )
+ !nocommonsnet? ( >=dev-java/commons-net-1.1.0 )
+ !nobcel? ( >=dev-java/bcel-5.1 )
+ !nooro? ( >=dev-java/jakarta-oro-2.0.8-r1 )
+ !norhino? ( =dev-java/rhino-1.5* )
+ !nojdepend? ( >=dev-java/jdepend-2.6 )
+ !nojsch? ( >=dev-java/jsch-0.1.12 )
+ !noregexp? ( =dev-java/jakarta-regexp-1.3* )
+ !nojython? ( >=dev-java/jython-2.1-r5 )
+ javamail? ( dev-java/sun-javamail dev-java/sun-jaf )"
+RDEPEND=">=virtual/jre-1.4
+ ${CDEPEND}"
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/java-config-1.2
+ !dev-java/ant-optional
+ ${CDEPEND}"
+
+S="${WORKDIR}/apache-ant-${MY_PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ rm -v lib/*.jar
+}
+
+src_compile() {
+ addwrite "/proc/self/maps"
+ if [[ $(uname -m) == "ppc" ]] ; then
+ # We're compiling _ON_ PPC
+ export THREADS_FLAG="green"
+ fi
+
+ local p="ant-core,junit" libs
+ use noantlr || p="${p},antlr"
+ use nobcel || p="${p},bcel"
+ use nobeanutils || p="${p},commons-beanutils-1.6"
+ use nobsh || p="${p},bsh"
+ use nobsf || p="${p},bsf-2.3"
+ use nocommonslogging || p="${p},commons-logging"
+ use nocommonsnet || p="${p},commons-net"
+ use nojdepend || p="${p},jdepend"
+ use nojsch || p="${p},jsch"
+ use nojython || p="${p},jython"
+ use nolog4j || p="${p},log4j"
+ use nooro || p="${p},jakarta-oro-2.0"
+ use noregexp || p="${p},jakarta-regexp-1.3"
+ use norhino || p="${p},rhino-1.5"
+ use noxalan || p="${p},xalan"
+ use noxerces || p="${p},xml-commons-external-1.3,xerces-2"
+
+ use javamail && p="${p},sun-javamail,sun-jaf"
+
+ CLASSPATH="${JAVA_HOME}/lib/tools.jar:.:$(java-pkg_getjars ant-core,${p})" \
+ java org.apache.tools.ant.launch.Launcher -Dant.install=${ANT_HOME} \
+ || die "Build failed."
+}
+
+src_install() {
+ dodir /usr/share/ant-core/lib
+ for jar in build/lib/ant-*.jar; do
+ [[ "$(basename ${jar})" == "ant-launcher.jar" ]] && continue
+ java-pkg_dojar ${jar}
+ dosym /usr/share/${PN}/lib/$(basename ${jar}) /usr/share/ant-core/lib/
+ done
+}
+
+pkg_postinst() {
+ local noset=false
+ for x in ${IUSE} ; do
+ if [ "${x:0:2}" == "no" ] ; then
+ use ${x} && noset=true
+ fi
+ done
+ if [ ${noset} == "true" ]; then
+ ewarn "You have disabled some of the ant tasks. Be advised that this may"
+ ewarn "break building some of the Java packages!!"
+ ewarn ""
+ ewarn "We can only offer very limited support in cases where dev-java/ant-tasks"
+ ewarn "has been build with essential features disabled."
+ fi
+}
diff --git a/dev-java/ant-tasks/files/digest-ant-tasks-1.6.5-r4 b/dev-java/ant-tasks/files/digest-ant-tasks-1.6.5-r4
new file mode 100644
index 000000000000..6bc546eb9b5c
--- /dev/null
+++ b/dev-java/ant-tasks/files/digest-ant-tasks-1.6.5-r4
@@ -0,0 +1,3 @@
+MD5 80a7ad191c40b7d8c82533524b282b6b apache-ant-1.6.5-src.tar.bz2 6283500
+RMD160 4680b53cd72d4915b9ca2bbe2131a71fcf505a84 apache-ant-1.6.5-src.tar.bz2 6283500
+SHA256 f3ef501f06bf1dac88981038ebd5311c738bf2d50d220de85c3e6c7656169d59 apache-ant-1.6.5-src.tar.bz2 6283500