diff options
Diffstat (limited to 'dev-java/jgroups/jgroups-2.2.7.ebuild')
-rw-r--r-- | dev-java/jgroups/jgroups-2.2.7.ebuild | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/dev-java/jgroups/jgroups-2.2.7.ebuild b/dev-java/jgroups/jgroups-2.2.7.ebuild index ac4845e835eb..51c96c8e9aa3 100644 --- a/dev-java/jgroups/jgroups-2.2.7.ebuild +++ b/dev-java/jgroups/jgroups-2.2.7.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jgroups/jgroups-2.2.7.ebuild,v 1.1 2004/10/30 19:08:58 axxo Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jgroups/jgroups-2.2.7.ebuild,v 1.1.1.1 2005/11/30 09:47:33 chriswhite Exp $ inherit java-pkg @@ -9,27 +9,30 @@ SRC_URI="mirror://sourceforge/javagroups/JGroups-${PV}.src.zip" HOMEPAGE="http://www.jgroups.org/javagroupsnew/docs/" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~x86 ~amd64" -RDEPEND=" =virtual/jre-1.4* - dev-java/concurrent-util - dev-java/jms" -DEPEND="${RDEPEND} - =virtual/jdk-1.4* - >=dev-java/ant-core-1.5 - junit? ( - dev-java/commons-logging - dev-java/junit - dev-java/log4j - )" +KEYWORDS="x86 amd64 ~ppc" +RDEPEND=">=virtual/jre-1.4 + dev-java/concurrent-util + dev-java/sun-jms" +DEPEND=">=virtual/jdk-1.4 + ${RDEPEND} + >=dev-java/ant-core-1.5 + app-arch/unzip + junit? ( + dev-java/commons-logging + dev-java/junit + dev-java/log4j + ) + jikes? ( dev-java/jikes )" IUSE="doc junit jikes" +S=${WORKDIR}/JGroups-${PV}.src + src_unpack() { unpack ${A} - mv JGroups-${PV}.src ${P} cd ${S}/lib rm *.jar java-pkg_jar-from concurrent-util - java-pkg_jar-from jms + java-pkg_jar-from sun-jms if use junit ; then ewarn "WARNING: Running unit tests can take a long time." java-pkg_jar-from junit @@ -48,7 +51,7 @@ src_compile() { src_install() { java-pkg_dojar dist/jgroups-core.jar - dodoc doc/* CREDITS INSTALL.html README + dodoc doc/* CREDITS README if use doc ; then cd dist java-pkg_dohtml -r javadoc |