logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

icedtea.env.sh (1130B)


  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Id$
  4. VERSION="IcedTea JDK ${PV}"
  5. JAVA_HOME="${EPREFIX}/usr/$(get_libdir)/icedtea${SLOT}"
  6. JDK_HOME="${EPREFIX}/usr/$(get_libdir)/icedtea${SLOT}"
  7. JAVAC="\${JAVA_HOME}/bin/javac"
  8. PATH="\${JAVA_HOME}/bin:\${JAVA_HOME}/jre/bin"
  9. ROOTPATH="\${JAVA_HOME}/bin:\${JAVA_HOME}/jre/bin"
  10. LDPATH="\${JAVA_HOME}/jre/lib/$(get_system_arch)/:\${JAVA_HOME}/jre/lib/$(get_system_arch)/server/$([[ ${SLOT} = [67] ]] && printf :\${JAVA_HOME}/jre/lib/$(get_system_arch)/xawt/)$([[ ${SLOT} = 6 ]] && printf :\${JAVA_HOME}/jre/lib/$(get_system_arch)/native_threads/)"
  11. MANPATH="${EPREFIX}/usr/$(get_libdir)/icedtea${SLOT}/man"
  12. PROVIDES_TYPE="JDK JRE"
  13. PROVIDES_VERSION="1.${SLOT}"
  14. # Taken from sun.boot.class.path property
  15. BOOTCLASSPATH="\${JAVA_HOME}/jre/lib/resources.jar:\${JAVA_HOME}/jre/lib/rt.jar:\${JAVA_HOME}/jre/lib/sunrsasign.jar:\${JAVA_HOME}/jre/lib/jsse.jar:\${JAVA_HOME}/jre/lib/jce.jar:\${JAVA_HOME}/jre/lib/charsets.jar:\${JAVA_HOME}/jre/lib/jfr.jar"
  16. GENERATION="2"
  17. ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"