# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-java/commons-dbutils/commons-dbutils-1.1.ebuild,v 1.3 2008/08/23 18:25:04 maekke Exp $ JAVA_PKG_IUSE="doc source test" inherit base java-pkg-2 java-ant-2 DESCRIPTION="A small set of classes designed to make working with JDBC easier" HOMEPAGE="http://commons.apache.org/dbutils/" SRC_URI="mirror://apache/commons/dbutils/source/${P}-src.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND=">=virtual/jdk-1.4 test? ( dev-java/ant-junit )" RDEPEND=">=virtual/jre-1.4" S="${WORKDIR}/${P}-src" PATCHES="${FILESDIR}/1.1-tests.patch" JAVA_ANT_REWRITE_CLASSPATH="yes" src_install() { java-pkg_newjar target/${P}.jar use doc && java-pkg_dojavadoc dist/docs/api use source && java-pkg_dosrc src/java/* }