# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header:$ inherit jakarta-commons DESCRIPTION="Jakarta-Commons Collections Component" HOMEPAGE="http://jakarta.apache.org/commons/collections.html" SRC_URI="mirror://apache/jakarta/commons/collections/source/${PN}-${PV}-src.tar.gz" ## DEPEND/RDEPEND already defined in jakarta-commons.eclass #DEPEND=">=virtual/jdk-1.3 # >=dev-java/ant-1.4 # junit? ( >=dev-java/junit-3.7 ) # jikes? ( >=dev-java/jikes-1.17 )" #RDEPEND=">=virtual/jre-1.3" LICENSE="Apache-1.1" SLOT="3" KEYWORDS="x86" IUSE="doc jikes junit" src_compile() { jakarta-commons_src_compile myconf make use doc && jakarta-commons_src_compile makedoc } # jakarta-commons_src_install doesn't work # because of changed directory structure src_install() { java-pkg_dojar build/commons-collections-3.0.jar dodoc LICENSE.txt README.txt dohtml -r build/docs/apidocs dohtml *.html }