hamcrest-core-1.1-r1.ebuild 741 B

123456789101112131415161718192021222324252627282930313233343536
  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-pkg-simple
  6. MY_PN="hamcrest"
  7. MY_P="${MY_PN}-${PV}"
  8. DESCRIPTION="Library of matchers for building test expressions"
  9. HOMEPAGE="https://github.com/hamcrest"
  10. SRC_URI="https://github.com/${MY_PN}/JavaHamcrest/archive/${MY_PN}-java-${PV}.zip -> ${P}.zip"
  11. LICENSE="BSD-2"
  12. SLOT="0"
  13. KEYWORDS="amd64 ~arm ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-macos ~x64-solaris"
  14. IUSE=""
  15. RDEPEND="
  16. >=virtual/jre-1.6"
  17. DEPEND="
  18. >=virtual/jdk-1.6
  19. source? ( app-arch/zip )"
  20. S="${WORKDIR}/JavaHamcrest-${MY_PN}-java-${PV}"
  21. JAVA_SRC_DIR="${PN}/src"
  22. java_prepare() {
  23. java-pkg_clean
  24. }