jcifs-1.3.17-r2.ebuild 805 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. JAVA_PKG_IUSE="doc examples source"
  5. inherit java-pkg-2 java-pkg-simple
  6. DESCRIPTION="Library that implements the CIFS/SMB networking protocol in Java"
  7. SRC_URI="http://jcifs.samba.org/src/${P}.tgz"
  8. HOMEPAGE="http://jcifs.samba.org/"
  9. LICENSE="LGPL-2.1"
  10. SLOT="1.1"
  11. KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd"
  12. CDEPEND="java-virtuals/servlet-api:3.0"
  13. RDEPEND="
  14. ${CDEPEND}
  15. >=virtual/jre-1.6"
  16. DEPEND="
  17. ${CDEPEND}
  18. >=virtual/jdk-1.6"
  19. JAVA_GENTOO_CLASSPATH="servlet-api-3.0"
  20. JAVA_SRC_DIR="src"
  21. DOCS=( README.txt )
  22. S="${WORKDIR}/${P/-/_}"
  23. src_prepare() {
  24. default
  25. java-pkg_clean
  26. }
  27. src_install() {
  28. java-pkg-simple_src_install
  29. use examples && java-pkg_doexamples examples
  30. einstalldocs
  31. }