Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 238864
Collapse All | Expand All

(-)dev-java/lucene-analyzers/lucene-analyzers-1.9.1-r1.ebuild (-7 / +5 lines)
Lines 1-9 Link Here
1
# Copyright 1999-2008 Gentoo Foundation
1
# Copyright 1999-2008 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene-analyzers/lucene-analyzers-1.9.1-r1.ebuild,v 1.5 2008/09/11 19:09:29 maekke Exp $
3
# $Header: $
4
4
5
JAVA_PKG_IUSE="source"
5
JAVA_PKG_IUSE="source"
6
inherit java-pkg-2 java-ant-2 java-osgi
6
inherit java-pkg-2 java-ant-2
7
7
8
MY_PN="${PN/lucene-}"
8
MY_PN="${PN/lucene-}"
9
MY_P="${P/-${MY_PN}}"
9
MY_P="${P/-${MY_PN}}"
Lines 13-20 Link Here
13
HOMEPAGE="http://lucene.apache.org/java"
13
HOMEPAGE="http://lucene.apache.org/java"
14
SRC_URI="mirror://apache/lucene/java/${MY_P}-src.tar.gz"
14
SRC_URI="mirror://apache/lucene/java/${MY_P}-src.tar.gz"
15
LICENSE="Apache-2.0"
15
LICENSE="Apache-2.0"
16
SLOT="1.9"
16
SLOT="2.3"
17
KEYWORDS="amd64 ~ia64 ppc x86 ~x86-fbsd"
17
KEYWORDS="~amd64 ~ia64 ~ppc ~x86 ~x86-fbsd"
18
IUSE=""
18
IUSE=""
19
DEPEND=">=virtual/jdk-1.4
19
DEPEND=">=virtual/jdk-1.4
20
	>=dev-java/ant-core-1.6"
20
	>=dev-java/ant-core-1.6"
Lines 26-33 Link Here
26
}
26
}
27
27
28
src_install() {
28
src_install() {
29
	java-osgi_newjar-fromfile "build/contrib/${MY_PN}/${PN}-1.9.2-dev.jar" \
29
	java-pkg_newjar "build/contrib/${MY_PN}/${PN}-2.3.jar" "${PN}.jar"
30
			"${FILESDIR}/manifest" "Apache Lucene Analysis"
31
32
	use source && java-pkg_dosrc contrib/${MY_PN}/src/java/org
30
	use source && java-pkg_dosrc contrib/${MY_PN}/src/java/org
33
}
31
}

Return to bug 238864