summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-03-17 05:08:17 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-03-17 05:08:17 +0000
commit2f346dbe07fecdd68713ed9b8881b21164f6ec99 (patch)
tree038724273a0f2610e0dee23c87a2617ebc14f194 /dev-java/commons-logging
parentamd64 works ;) (diff)
downloadhistorical-2f346dbe07fecdd68713ed9b8881b21164f6ec99.tar.gz
historical-2f346dbe07fecdd68713ed9b8881b21164f6ec99.tar.bz2
historical-2f346dbe07fecdd68713ed9b8881b21164f6ec99.zip
Not using jakarta-commons.eclass anymore due to breakage
Diffstat (limited to 'dev-java/commons-logging')
-rw-r--r--dev-java/commons-logging/commons-logging-1.0.3-r1.ebuild44
-rw-r--r--dev-java/commons-logging/files/digest-commons-logging-1.0.3-r11
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-java/commons-logging/commons-logging-1.0.3-r1.ebuild b/dev-java/commons-logging/commons-logging-1.0.3-r1.ebuild
new file mode 100644
index 000000000000..97cb16729392
--- /dev/null
+++ b/dev-java/commons-logging/commons-logging-1.0.3-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-logging/commons-logging-1.0.3-r1.ebuild,v 1.1 2004/03/17 05:08:17 zx Exp $
+
+inherit java-pkg
+
+S="${WORKDIR}/${P}-src/"
+DESCRIPTION="The Jakarta-Commons Logging package is an ultra-thin bridge between different logging libraries."
+HOMEPAGE="http://jakarta.apache.org/commons/logging/"
+SRC_URI="mirror://apache/jakarta/commons/logging/source/${PN}-${PV}-src.tar.gz"
+DEPEND=">=virtual/jdk-1.3
+ >=dev-java/log4j-1.2.5
+ dev-java/avalon-logkit
+ >=dev-java/ant-1.4
+ jikes? ( dev-java/jikes )
+ junit? ( >=dev-java/junit-3.7 )"
+RDEPEND=">=virtual/jdk-1.3"
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="x86 ppc sparc amd64"
+IUSE="doc jikes junit"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ echo "log4j.jar=`java-config -p log4j`" > build.properties
+ echo "logkit.jar=`java-config -p avalon-logkit`" >> build.properties
+ echo "junit.jar=`java-config -p junit`" >> build.properties
+}
+
+src_compile() {
+ local antflags="compile"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ use doc && antflags="${antflags} javadoc"
+ use junit && antflags="${antflags} test"
+ ant ${antflags}
+}
+
+src_install() {
+ java-pkg_dojar target/*
+ dodoc RELEASE-NOTES.txt
+ dohtml PROPOSAL.html STATUS.html usersguide.html
+ use doc && dohtml -r dist/docs/
+}
diff --git a/dev-java/commons-logging/files/digest-commons-logging-1.0.3-r1 b/dev-java/commons-logging/files/digest-commons-logging-1.0.3-r1
new file mode 100644
index 000000000000..095408c78caf
--- /dev/null
+++ b/dev-java/commons-logging/files/digest-commons-logging-1.0.3-r1
@@ -0,0 +1 @@
+MD5 d40606211a1559a9d9fd35eb9091ac15 commons-logging-1.0.3-src.tar.gz 45202