summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-08-31 15:05:44 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-08-31 15:05:44 +0000
commiteb93839d5e16ac26615e215c84d4010e7aed68ab (patch)
treead63d133f103c856df1bcd69444376976421c259 /dev-java/lucene/lucene-1.4.1.ebuild
parentx11-plugins/wmnetload-1.3-r1 stable for x86... (diff)
downloadhistorical-eb93839d5e16ac26615e215c84d4010e7aed68ab.tar.gz
historical-eb93839d5e16ac26615e215c84d4010e7aed68ab.tar.bz2
historical-eb93839d5e16ac26615e215c84d4010e7aed68ab.zip
version bump(s)
Diffstat (limited to 'dev-java/lucene/lucene-1.4.1.ebuild')
-rw-r--r--dev-java/lucene/lucene-1.4.1.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-java/lucene/lucene-1.4.1.ebuild b/dev-java/lucene/lucene-1.4.1.ebuild
new file mode 100644
index 000000000000..205be4d9d1c0
--- /dev/null
+++ b/dev-java/lucene/lucene-1.4.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-1.4.1.ebuild,v 1.1 2004/08/31 15:05:44 axxo Exp $
+
+inherit java-pkg
+
+DESCRIPTION="High-performance, full-featured text search engine written entirely in Java"
+HOMEPAGE="http://jakarta.apache.org/lucene"
+SRC_URI="http://cvs.apache.org/dist/jakarta/lucene/v1.4.1/${P}-src.tar.gz"
+LICENSE="Apache-1.1"
+SLOT="1"
+KEYWORDS="~x86 ~ppc"
+IUSE="jikes doc"
+DEPEND=">=virtual/jdk-1.2
+ >=dev-java/ant-1.5
+ jikes? ( dev-java/jikes )"
+RDEPEND=">=virtual/jdk-1.2"
+
+src_compile() {
+ local antflags="jar-core"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ use doc && antflags="${antflags} javadocs"
+ ant ${antflags} || die "compilation failed"
+}
+
+src_install() {
+ dodoc CHANGES.txt README.txt
+ cd build
+ mv lucene-1.5-rc1-dev.jar ${PN}.jar || die "mv failed"
+ java-pkg_dojar ${PN}.jar || die "dojar failed"
+ use doc && dohtml -r docs/*
+}