summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Carlson <absinthe@gentoo.org>2003-04-23 02:15:03 +0000
committerDylan Carlson <absinthe@gentoo.org>2003-04-23 02:15:03 +0000
commite2f4dcd287821033ef5c352db379513b8ab24001 (patch)
tree5a09b5204836472eab45851ac7b92d745ad4a798 /dev-java/commons-discovery/commons-discovery-0.2.ebuild
parentVersion bump. (diff)
downloadgentoo-2-e2f4dcd287821033ef5c352db379513b8ab24001.tar.gz
gentoo-2-e2f4dcd287821033ef5c352db379513b8ab24001.tar.bz2
gentoo-2-e2f4dcd287821033ef5c352db379513b8ab24001.zip
Version bump.
Diffstat (limited to 'dev-java/commons-discovery/commons-discovery-0.2.ebuild')
-rw-r--r--dev-java/commons-discovery/commons-discovery-0.2.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-java/commons-discovery/commons-discovery-0.2.ebuild b/dev-java/commons-discovery/commons-discovery-0.2.ebuild
new file mode 100644
index 000000000000..4a34563e6e5e
--- /dev/null
+++ b/dev-java/commons-discovery/commons-discovery-0.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-discovery/commons-discovery-0.2.ebuild,v 1.1 2003/04/23 02:14:59 absinthe Exp $
+
+inherit jakarta-commons
+
+S="${WORKDIR}/${P}-src/discovery"
+DESCRIPTION="The Discovery component is about discovering, or finding, implementations for pluggable interfaces."
+HOMEPAGE="http://jakarta.apache.org/commons/discovery.html"
+SRC_URI="http://www.apache.org/dist/jakarta/commons/discovery/source/${PN}-${PV}-src.tar.gz"
+DEPEND=">=virtual/jdk-1.3
+ >=dev-java/commons-logging-1.0
+ >=dev-java/ant-1.4"
+RDEPEND=">=virtual/jdk-1.3"
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc"
+IUSE="doc jikes junit"
+
+src_compile() {
+ [ -f LICENSE.txt ] && cp LICENSE.txt ../LICENSE
+ echo "logger.jar=`java-config --classpath=commons-logging`" | sed s/\=.*:/\=/ >> build.properties
+ jakarta-commons_src_compile myconf make
+ use doc && jakarta-commons_src_compile makedoc
+
+ # UGLY HACK
+ mv ${S}/target/conf/MANIFEST.MF ${S}/target/classes/
+ cd ${S}/target/classes
+ zip -r ../${PN}-${PV}.jar org
+}