From 5b8ff7edb2efcf2ec974351dd9d5580697b154c1 Mon Sep 17 00:00:00 2001 From: Karl Trygve Kalleberg Date: Mon, 3 May 2004 19:20:28 +0000 Subject: Fixes SLOTing. --- dev-java/lucene/ChangeLog | 8 ++++++- dev-java/lucene/files/digest-lucene-1.3-r1 | 1 + dev-java/lucene/lucene-1.3-r1.ebuild | 34 ++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 dev-java/lucene/files/digest-lucene-1.3-r1 create mode 100644 dev-java/lucene/lucene-1.3-r1.ebuild (limited to 'dev-java') diff --git a/dev-java/lucene/ChangeLog b/dev-java/lucene/ChangeLog index b02c24317f95..59f4a642c544 100644 --- a/dev-java/lucene/ChangeLog +++ b/dev-java/lucene/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/lucene # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/ChangeLog,v 1.5 2004/05/02 01:54:13 zx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/ChangeLog,v 1.6 2004/05/03 19:20:28 karltk Exp $ + +*lucene-1.3-r1 (03 May 2004) + + 03 May 2004; Karl Trygve Kalleberg lucene-1.3-r1.ebuild: + Sat proper SLOTing. 06 May 2004; Chris Aniszczyk lucene-1.3.ebuild: Closes #49023. Thanks to Jacob Smullyan for the small @@ -15,3 +20,4 @@ *lucene-1.2 (25 Oct 2002) 25 Oct 2002; Maik Schreiber : Initial import. + diff --git a/dev-java/lucene/files/digest-lucene-1.3-r1 b/dev-java/lucene/files/digest-lucene-1.3-r1 new file mode 100644 index 000000000000..295972201fda --- /dev/null +++ b/dev-java/lucene/files/digest-lucene-1.3-r1 @@ -0,0 +1 @@ +MD5 46816edb7eaefedb836145a5bbf6535b lucene-1.3-final-src.tar.gz 700774 diff --git a/dev-java/lucene/lucene-1.3-r1.ebuild b/dev-java/lucene/lucene-1.3-r1.ebuild new file mode 100644 index 000000000000..e06995373e0d --- /dev/null +++ b/dev-java/lucene/lucene-1.3-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-1.3-r1.ebuild,v 1.1 2004/05/03 19:20:28 karltk Exp $ + +inherit java-pkg + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://jakarta.apache.org/lucene" +SRC_URI="mirror://apache/jakarta/lucene/source/${P}-final-src.tar.gz" +LICENSE="Apache-1.1" +SLOT="1" +KEYWORDS="~x86" +IUSE="jikes doc" +DEPEND=">=virtual/jdk-1.2 + >=dev-java/ant-1.5 + jikes? ( dev-java/jikes )" +RDEPEND=">=virtual/jdk-1.2" + +S="${WORKDIR}/${P}-final" + +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.4-rc1-dev.jar ${PN}.jar + java-pkg_dojar ${PN}.jar + use doc && dohtml -r docs/* +} -- cgit v1.2.3-65-gdbad