lucene-analyzers-2.3.2.ebuild 770 B

12345678910111213141516171819202122232425262728
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. JAVA_PKG_IUSE="source"
  4. inherit java-pkg-2 java-ant-2 java-osgi
  5. MY_PN="${PN/lucene-}"
  6. MY_P="${P/-${MY_PN}}"
  7. DESCRIPTION="Lucene Analyzers additions"
  8. HOMEPAGE="http://lucene.apache.org/java"
  9. SRC_URI="mirror://apache/lucene/java/${MY_P}-src.tar.gz"
  10. LICENSE="Apache-2.0"
  11. SLOT="2.3"
  12. KEYWORDS="amd64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
  13. IUSE=""
  14. DEPEND=">=virtual/jdk-1.4"
  15. RDEPEND=">=virtual/jre-1.4"
  16. S="${WORKDIR}/${MY_P}/contrib/${MY_PN}"
  17. src_install() {
  18. java-osgi_newjar-fromfile "${WORKDIR}/${MY_P}/build/contrib/${MY_PN}/${PN}-${SLOT}.jar" \
  19. "${FILESDIR}/manifest" "Apache Lucene Analysis"
  20. use source && java-pkg_dosrc "${S}/src/java/org"
  21. }