/[gentoo-x86]/dev-java/lucene/lucene-1.4.3-r2.ebuild
Gentoo

Contents of /dev-java/lucene/lucene-1.4.3-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Wed Aug 29 13:55:44 2007 UTC (12 years, 5 months ago) by betelgeuse
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
Remove unused revision.
(Portage version: 2.1.3.7)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-1.4.3-r2.ebuild,v 1.10 2007/01/21 18:11:11 flameeyes Exp $
4
5 inherit java-pkg-2 java-ant-2
6
7 DESCRIPTION="High-performance, full-featured text search engine written entirely in Java"
8 HOMEPAGE="http://jakarta.apache.org/lucene"
9 SRC_URI="mirror://apache/jakarta/lucene/source/${P}-src.tar.gz"
10 LICENSE="Apache-1.1"
11 SLOT="1"
12 KEYWORDS="amd64 ~ia64 ppc x86 ~x86-fbsd"
13 IUSE="doc test source"
14 DEPEND=">=virtual/jdk-1.2
15 >=dev-java/ant-core-1.5
16 test? ( dev-java/junit dev-java/ant-tasks )"
17 RDEPEND=">=virtual/jdk-1.2"
18
19 src_unpack() {
20 unpack ${A}
21 cd ${S}/lib
22 rm -f *.jar
23 use test && java-pkg_jar-from junit
24 }
25
26 src_compile() {
27 eant jar-core $(use_doc javadocs)
28 }
29
30 src_test() {
31 eant test
32 }
33
34 src_install() {
35 dodoc CHANGES.txt README.txt
36 java-pkg_newjar build/lucene-1.5-rc1-dev.jar ${PN}.jar
37
38 use doc && java-pkg_dohtml -r docs/* build/docs/*
39 use source && java-pkg_dosrc src/java/org
40 }

  ViewVC Help
Powered by ViewVC 1.1.20