summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2018-01-02 21:17:51 +0100
committerPatrice Clement <monsieurp@gentoo.org>2018-01-03 11:08:27 +0100
commitec1c6909bd1b08ef3f86f8dd0ca9b2b6e0f52523 (patch)
treea7e475306568388cfb466cb19667d8801aae3133 /dev-java
parentapp-shells/bash: stable 4.4_p12 for ia64/ppc/ppc64, bug #643124 (diff)
downloadgentoo-ec1c6909bd1b08ef3f86f8dd0ca9b2b6e0f52523.tar.gz
gentoo-ec1c6909bd1b08ef3f86f8dd0ca9b2b6e0f52523.tar.bz2
gentoo-ec1c6909bd1b08ef3f86f8dd0ca9b2b6e0f52523.zip
dev-java/lucene: EAPI 6 bump.
Commit straight to stable as discussed with zlogne on IRC. Bug: https://bugs.gentoo.org/642302 Package-Manager: Portage-2.3.13, Repoman-2.3.3 RepoMan-Options: --force
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/lucene/lucene-1.4.3-r4.ebuild52
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-java/lucene/lucene-1.4.3-r4.ebuild b/dev-java/lucene/lucene-1.4.3-r4.ebuild
new file mode 100644
index 000000000000..327f41c136f7
--- /dev/null
+++ b/dev-java/lucene/lucene-1.4.3-r4.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="doc examples source test"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="High-performance, full-featured Java text search engine"
+HOMEPAGE="https://lucene.apache.org"
+SRC_URI="mirror://apache/lucene/java/archive/${P}-src.tar.gz"
+
+KEYWORDS="amd64 x86 ~x86-fbsd"
+LICENSE="Apache-1.1"
+SLOT="1"
+
+DEPEND="
+ >=virtual/jdk-1.6
+ test? ( dev-java/ant-junit:0 )"
+
+RDEPEND="
+ >=virtual/jre-1.6"
+
+src_prepare() {
+ default
+ java-pkg_clean
+}
+
+src_compile() {
+ eant jar-core $(use_doc javadocs)
+}
+
+src_test() {
+ java-ant_rewrite-classpath build.xml
+ EANT_GENTOO_CLASSPATH="junit ant-core" \
+ ANT_TASKS="ant-junit" \
+ eant test
+}
+
+src_install() {
+ einstalldocs
+ java-pkg_newjar build/lucene-1.5-rc1-dev.jar
+
+ if use doc; then
+ dodoc -r docs/*
+ java-pkg_dojavadoc build/docs/api
+ fi
+
+ use examples && java-pkg_doexamples src/demo
+ use source && java-pkg_dosrc src/java/org
+}