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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sun Feb 18 17:41:23 2007 UTC (12 years, 11 months ago) by betelgeuse
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Removed old versions/revisions.
(Portage version: 2.1.2-r9)

1 # Copyright 1999-2006 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.ebuild,v 1.5 2006/07/14 16:46:06 nichoj Exp $
4
5 inherit java-pkg
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 ~ppc x86"
13 IUSE="doc jikes junit source"
14 DEPEND=">=virtual/jdk-1.3
15 >=dev-java/ant-1.5
16 jikes? ( dev-java/jikes )
17 junit? ( dev-java/junit )"
18 RDEPEND=">=virtual/jdk-1.3"
19
20 src_unpack() {
21 unpack ${A}
22 cd ${S}/lib
23 rm -f *.jar
24 java-pkg_jar-from junit
25 }
26
27
28 src_compile() {
29 local antflags="jar-core"
30 use doc && antflags="${antflags} javadocs"
31 use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
32 use junit && antflags="${antflags} test"
33 ant ${antflags} || die "compilation failed"
34 }
35
36 src_install() {
37 dodoc CHANGES.txt README.txt
38 java-pkg_newjar build/lucene-1.5-rc1-dev.jar ${PN}.jar
39
40 use doc && java-pkg_dohtml -r docs/* build/docs/*
41 use source && java-pkg_dosrc src/java/org
42 }

  ViewVC Help
Powered by ViewVC 1.1.20