summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-07-10 13:01:54 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-07-10 13:01:54 +0000
commita48dad78a70cf9ae8902cc7766f83b0c96072984 (patch)
treeda0095c611ca57fbe4c079568c3ec6da22cc9d2a /dev-java/commons-httpclient/commons-httpclient-3.0_rc1.ebuild
parentfix deps, cleanup (diff)
downloadgentoo-2-a48dad78a70cf9ae8902cc7766f83b0c96072984.tar.gz
gentoo-2-a48dad78a70cf9ae8902cc7766f83b0c96072984.tar.bz2
gentoo-2-a48dad78a70cf9ae8902cc7766f83b0c96072984.zip
fix deps, add source useflag support, cleanup
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-java/commons-httpclient/commons-httpclient-3.0_rc1.ebuild')
-rw-r--r--dev-java/commons-httpclient/commons-httpclient-3.0_rc1.ebuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/dev-java/commons-httpclient/commons-httpclient-3.0_rc1.ebuild b/dev-java/commons-httpclient/commons-httpclient-3.0_rc1.ebuild
index 35ba9e687325..df4d6ee361a4 100644
--- a/dev-java/commons-httpclient/commons-httpclient-3.0_rc1.ebuild
+++ b/dev-java/commons-httpclient/commons-httpclient-3.0_rc1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-httpclient/commons-httpclient-3.0_rc1.ebuild,v 1.3 2005/05/29 15:39:17 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-httpclient/commons-httpclient-3.0_rc1.ebuild,v 1.4 2005/07/10 13:01:54 axxo Exp $
inherit java-pkg eutils
@@ -12,17 +12,19 @@ SRC_URI="mirror://apache/jakarta/commons/httpclient/source/${MY_P}-src.tar.gz"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="doc junit"
+IUSE="doc junit source"
+
+RDEPEND=">=virtual/jre-1.3
+ >=dev-java/log4j-1.2.5
+ dev-java/commons-logging
+ dev-java/commons-codec"
DEPEND=">=virtual/jdk-1.3
sys-apps/sed
- >=dev-java/log4j-1.2.5
>=dev-java/ant-1.4
junit? ( dev-java/junit )
+ source? ( app-arch/zip )
${RDEPEND}"
-RDEPEND=">=virtual/jdk-1.3
- dev-java/commons-logging
- dev-java/commons-codec"
S=${WORKDIR}/${MY_P}
@@ -45,4 +47,5 @@ src_compile() {
src_install() {
java-pkg_dojar dist/${PN}.jar
use doc && java-pkg_dohtml -r dist/docs/*
+ use source && java-pkg_dosrc src/java/*
}