You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-java/commons-dbutils/commons-dbutils-1.1.ebuild

32 lines
884 B

# Copyright 1999-2010 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.4 2010/03/20 13:36:24 betelgeuse 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/*
}