summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-03-22 23:11:19 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-03-22 23:11:19 +0000
commit5f06d02f4a9b35926c7ef28169cd2555cb032071 (patch)
treecc26391a931fffb24615fa072db71c54795007ae /dev-java/log4j/log4j-1.2.8.ebuild
parentMove 1.2.5 to stable on ppc. (Manifest recommit) (diff)
downloadgentoo-2-5f06d02f4a9b35926c7ef28169cd2555cb032071.tar.gz
gentoo-2-5f06d02f4a9b35926c7ef28169cd2555cb032071.tar.bz2
gentoo-2-5f06d02f4a9b35926c7ef28169cd2555cb032071.zip
Clean up + QA for #45343
Diffstat (limited to 'dev-java/log4j/log4j-1.2.8.ebuild')
-rw-r--r--dev-java/log4j/log4j-1.2.8.ebuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/dev-java/log4j/log4j-1.2.8.ebuild b/dev-java/log4j/log4j-1.2.8.ebuild
index 4bd48110aec3..10fcc97ebe64 100644
--- a/dev-java/log4j/log4j-1.2.8.ebuild
+++ b/dev-java/log4j/log4j-1.2.8.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/log4j/log4j-1.2.8.ebuild,v 1.6 2004/01/19 04:56:24 strider Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/log4j/log4j-1.2.8.ebuild,v 1.7 2004/03/22 23:11:19 zx Exp $
-S="${WORKDIR}/jakarta-${P}"
+inherit java-pkg
DESCRIPTION="A low-overhead robust logging package for Java"
SRC_URI="http://jakarta.apache.org/log4j/jakarta-${P}.tar.gz"
@@ -10,12 +10,13 @@ HOMEPAGE="http://jakarta.apache.org"
LICENSE="Apache-1.1"
SLOT="1"
KEYWORDS="x86 sparc ppc amd64"
+IUSE="doc"
+DEPEND=">=virtual/jdk-1.2"
-RDEPEND=">=virtual/jdk-1.3"
-DEPEND="${RDEPEND}"
+S="${WORKDIR}/jakarta-${P}"
src_install() {
- dojar dist/lib/*.jar
- dohtml -r docs/*
+ java-pkg_dojar dist/lib/*.jar
+ use doc && dohtml -r docs/*
}