trove-3.0.2-r1.ebuild 871 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI="5"
  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. # See bug 553652
  18. epatch "${FILESDIR}"/${P}-java.io.tmpdir.patch
  19. rm -v lib/*.jar
  20. rm -fr javadocs/*
  21. }
  22. src_compile() {
  23. java-pkg-2_src_compile
  24. }
  25. src_install() {
  26. java-pkg_newjar output/lib/*.jar
  27. dodoc *.txt || die
  28. use doc && java-pkg_dojavadoc output/javadocs
  29. use source && java-pkg_dosrc src/* output/gen_src/*
  30. }