sun-httpserver-bin-2.0.1-r1.ebuild 742 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit java-pkg-2
  5. DESCRIPTION="Sun sun.net.httpserver classes"
  6. HOMEPAGE="http://jax-ws.dev.java.net/"
  7. DATE="20060817"
  8. MY_P="JAXWS${PV}m1_source_${DATE}.jar"
  9. SRC_URI="https://jax-ws.dev.java.net/jax-ws-201-m1/${MY_P}"
  10. LICENSE="CDDL"
  11. SLOT="2"
  12. KEYWORDS="amd64 x86 ~x86-fbsd"
  13. IUSE=""
  14. RDEPEND=">=virtual/jre-1.5"
  15. DEPEND="app-arch/unzip
  16. ${RDEPEND}"
  17. S="${WORKDIR}/jaxws-si"
  18. src_unpack() {
  19. MY_JAVA=$(java-config -J)
  20. echo "A" | ${MY_JAVA} -jar "${DISTDIR}/${A}" -console > /dev/null || die "unpack failed"
  21. unpack ./jaxws-src.zip || die "unzip failed"
  22. }
  23. src_compile() {
  24. :
  25. }
  26. src_install() {
  27. java-pkg_dojar lib/http.jar
  28. }