velocity-1.7-r2.ebuild 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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="examples doc source"
  5. inherit java-pkg-2 java-pkg-simple
  6. DESCRIPTION="Java framework for easy creation/rendering of documents"
  7. HOMEPAGE="http://velocity.apache.org"
  8. SRC_URI="mirror://apache/${PN}/engine/${PV}/${P}.tar.gz"
  9. LICENSE="Apache-2.0"
  10. SLOT="0"
  11. KEYWORDS="amd64 x86"
  12. IUSE="test"
  13. CDEPEND="
  14. dev-java/jdom:0
  15. dev-java/log4j:0
  16. dev-java/ant-core:0
  17. dev-java/werken-xpath:0
  18. dev-java/jakarta-oro:2.0
  19. dev-java/avalon-logkit:2.0
  20. dev-java/commons-lang:2.1
  21. dev-java/commons-logging:0
  22. dev-java/commons-collections:0
  23. java-virtuals/servlet-api:2.3
  24. "
  25. DEPEND="
  26. ${CDEPEND}
  27. >=virtual/jdk-1.6
  28. "
  29. RDEPEND="
  30. ${CDEPEND}
  31. >=virtual/jre-1.6"
  32. JAVA_GENTOO_CLASSPATH="
  33. jdom
  34. log4j
  35. ant-core
  36. werken-xpath
  37. jakarta-oro-2.0
  38. servlet-api-2.3
  39. commons-logging
  40. commons-lang-2.1
  41. avalon-logkit-2.0
  42. commons-collections
  43. "
  44. JAVA_SRC_DIR="src"
  45. RESTRICT="test"
  46. S="${WORKDIR}/${P}"
  47. java_prepare() {
  48. java-pkg_clean
  49. rm -rv test src/test || die
  50. }
  51. src_install() {
  52. java-pkg-simple_src_install
  53. use examples && java-pkg_doexamples examples
  54. }