trove-3.0.2.ebuild 758 B

12345678910111213141516171819202122232425262728293031
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI="2"
  4. JAVA_PKG_IUSE="doc source"
  5. inherit java-pkg-2 java-ant-2
  6. DESCRIPTION="GNU Trove: High performance collections for Java"
  7. SRC_URI="mirror://sourceforge/trove4j/${P}.tar.gz"
  8. HOMEPAGE="http://trove4j.sourceforge.net"
  9. LICENSE="LGPL-2.1"
  10. IUSE=""
  11. SLOT="3"
  12. KEYWORDS="amd64 ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
  13. RDEPEND=">=virtual/jre-1.5"
  14. DEPEND=">=virtual/jdk-1.5"
  15. S="${WORKDIR}/${PV}"
  16. java_prepare() {
  17. rm -v lib/*.jar
  18. rm -fr javadocs/*
  19. }
  20. src_install() {
  21. java-pkg_newjar output/lib/*.jar
  22. dodoc *.txt || die
  23. use doc && java-pkg_dojavadoc output/javadocs
  24. use source && java-pkg_dosrc src/* output/gen_src/*
  25. }