jsap-2.1-r2.ebuild 768 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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="JSAP"
  7. MY_P=${MY_PN}-${PV}
  8. DESCRIPTION="Java Simple Arguments Parser (JSAP)"
  9. HOMEPAGE="https://sourceforge.net/projects/jsap"
  10. SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.gz -> ${P}.tar.gz"
  11. LICENSE="LGPL-2.1"
  12. SLOT="0"
  13. KEYWORDS="amd64 ppc64 x86"
  14. IUSE=""
  15. CDEPEND="
  16. dev-java/xstream:0
  17. dev-java/ant-core:0"
  18. RDEPEND="
  19. ${CDEPEND}
  20. >=virtual/jre-1.6"
  21. DEPEND="
  22. ${CDEPEND}
  23. >=virtual/jdk-1.6
  24. source? ( app-arch/zip )"
  25. S="${WORKDIR}/${MY_P}"
  26. JAVA_GENTOO_CLASSPATH="
  27. xstream
  28. ant-core
  29. "
  30. java_prepare() {
  31. java-pkg_clean
  32. find . -type f -name "Test*.java" -delete || die
  33. }