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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Mon Apr 25 15:20:01 2005 UTC (14 years, 8 months ago) by luckyduck
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
new upstream version, fixes #90357. did some cleanup and introduced support for the source useflag
(Portage version: 2.0.51.19)

1 # Copyright 1999-2005 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.3.ebuild,v 1.7 2005/02/03 17:35:26 luckyduck 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}-final-src.tar.gz"
10 LICENSE="Apache-1.1"
11 SLOT="0"
12 KEYWORDS="x86 ~amd64"
13 IUSE="jikes doc"
14 DEPEND=">=virtual/jdk-1.2
15 >=dev-java/ant-1.5
16 jikes? ( dev-java/jikes )"
17 RDEPEND=">=virtual/jdk-1.2"
18
19 S="${WORKDIR}/${P}-final"
20
21 src_compile() {
22 local antflags="jar-core"
23 use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
24 use doc && antflags="${antflags} javadocs"
25 ant ${antflags} || die "compilation failed"
26 }
27
28 src_install() {
29 dodoc CHANGES.txt README.txt
30 cd build
31 mv lucene-1.4-rc1-dev.jar ${PN}.jar
32 java-pkg_dojar ${PN}.jar
33 use doc && java-pkg_dohtml -r docs/*
34 }

  ViewVC Help
Powered by ViewVC 1.1.20