summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-05-07 17:20:21 +0000
committerVlastimil Babka <caster@gentoo.org>2007-05-07 17:20:21 +0000
commit2cbbfce6c305226ec6d35f9b8f8cd84c7fe04714 (patch)
treeb429b8abf34f6d683a3584a5b18d2827a52a22be /dev-java
parentBump to 1.7.12 (diff)
downloadhistorical-2cbbfce6c305226ec6d35f9b8f8cd84c7fe04714.tar.gz
historical-2cbbfce6c305226ec6d35f9b8f8cd84c7fe04714.tar.bz2
historical-2cbbfce6c305226ec6d35f9b8f8cd84c7fe04714.zip
Revbump to migrate to split-ant; tweak style and add examples USEflag.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/lucene/ChangeLog7
-rw-r--r--dev-java/lucene/files/digest-lucene-1.4.3-r33
-rw-r--r--dev-java/lucene/lucene-1.4.3-r3.ebuild48
3 files changed, 57 insertions, 1 deletions
diff --git a/dev-java/lucene/ChangeLog b/dev-java/lucene/ChangeLog
index 439d51c70df6..c0c4ce368101 100644
--- a/dev-java/lucene/ChangeLog
+++ b/dev-java/lucene/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/lucene
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/ChangeLog,v 1.28 2007/04/22 08:56:08 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/ChangeLog,v 1.29 2007/05/07 17:20:21 caster Exp $
+
+*lucene-1.4.3-r3 (07 May 2007)
+
+ 07 May 2007; Vlastimil Babka <caster@gentoo.org> +lucene-1.4.3-r3.ebuild:
+ Revbump to migrate to split-ant; tweak style and add examples USEflag.
*lucene-2.1.0 (22 Apr 2007)
diff --git a/dev-java/lucene/files/digest-lucene-1.4.3-r3 b/dev-java/lucene/files/digest-lucene-1.4.3-r3
new file mode 100644
index 000000000000..ad8755a6dd84
--- /dev/null
+++ b/dev-java/lucene/files/digest-lucene-1.4.3-r3
@@ -0,0 +1,3 @@
+MD5 ebc81ec083eb64a937cd3b51e72fa3c7 lucene-1.4.3-src.tar.gz 768320
+RMD160 e865c15885722e87c437d36e60fabd333976fb14 lucene-1.4.3-src.tar.gz 768320
+SHA256 62051daecebbae50c4e9d1c4d840f32fc58d85b0a5b370095c98e346c9ba1049 lucene-1.4.3-src.tar.gz 768320
diff --git a/dev-java/lucene/lucene-1.4.3-r3.ebuild b/dev-java/lucene/lucene-1.4.3-r3.ebuild
new file mode 100644
index 000000000000..60c9a953cb6d
--- /dev/null
+++ b/dev-java/lucene/lucene-1.4.3-r3.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-1.4.3-r3.ebuild,v 1.1 2007/05/07 17:20:21 caster Exp $
+
+JAVA_PKG_IUSE="doc examples source test"
+inherit java-pkg-2 java-ant-2
+
+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}-src.tar.gz"
+LICENSE="Apache-1.1"
+SLOT="1"
+KEYWORDS="~amd64 ~ia64 ~ppc ~x86 ~x86-fbsd"
+IUSE=""
+DEPEND=">=virtual/jdk-1.4
+ test? (
+ =dev-java/junit-3*
+ dev-java/ant-junit
+ )"
+RDEPEND=">=virtual/jdk-1.4"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}/lib" || die
+ rm -v *.jar || die
+}
+
+src_compile() {
+ eant jar-core $(use_doc javadocs)
+}
+
+src_test() {
+ java-pkg_jar-from --into lib junit
+ ANT_TASKS="ant-junit" eant test
+}
+
+src_install() {
+ dodoc CHANGES.txt README.txt || die
+ java-pkg_newjar build/lucene-1.5-rc1-dev.jar
+
+ if use doc; then
+ dohtml -r docs/*
+ java-pkg_dojavadoc build/docs/api
+ fi
+ use examples && java-pkg_doexamples src/demo
+ use source && java-pkg_dosrc src/java/org
+}