summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2016-08-01 21:33:44 +0100
committerJames Le Cuirot <chewi@gentoo.org>2016-08-02 23:34:29 +0100
commita139324480ba3b552ddaa09a49840007eab585da (patch)
tree7184c478c92fec41dc7390b469ee7ce5cc04f326 /dev-java/icedtea-bin/files
parentprofiles: Disable icedtea-bin[multilib] on amd64 by default (diff)
downloadgentoo-a139324480ba3b552ddaa09a49840007eab585da.tar.gz
gentoo-a139324480ba3b552ddaa09a49840007eab585da.tar.bz2
gentoo-a139324480ba3b552ddaa09a49840007eab585da.zip
dev-java/icedtea-bin: Bump to 3.1.0, adds multilib for amd64
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-java/icedtea-bin/files')
-rw-r--r--dev-java/icedtea-bin/files/icedtea-bin.env.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-java/icedtea-bin/files/icedtea-bin.env.sh b/dev-java/icedtea-bin/files/icedtea-bin.env.sh
new file mode 100644
index 000000000000..a77df81ee660
--- /dev/null
+++ b/dev-java/icedtea-bin/files/icedtea-bin.env.sh
@@ -0,0 +1,18 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+VERSION="IcedTea JDK ${PV}$(multilib_is_native_abi || printf ' ('${ABI}')')"
+JAVA_HOME="${EPREFIX}/opt/icedtea-bin-${PV}$(multilib_is_native_abi || printf -- -${ABI})"
+JDK_HOME="${EPREFIX}/opt/icedtea-bin-${PV}$(multilib_is_native_abi || printf -- -${ABI})"
+JAVAC="\${JAVA_HOME}/bin/javac"
+PATH="\${JAVA_HOME}/bin:\${JAVA_HOME}/jre/bin"
+ROOTPATH="\${JAVA_HOME}/bin:\${JAVA_HOME}/jre/bin"
+LDPATH="\${JAVA_HOME}/jre/lib/$(get_system_arch)/:\${JAVA_HOME}/jre/lib/$(get_system_arch)/server/$([[ ${SLOT} = 7 ]] && printf :\${JAVA_HOME}/jre/lib/$(get_system_arch)/xawt/)"
+MANPATH="${EPREFIX}/opt/icedtea-bin-${PV}/man"
+PROVIDES_TYPE="JDK JRE"
+PROVIDES_VERSION="1.${SLOT}"
+# Taken from sun.boot.class.path property
+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"
+GENERATION="2"
+ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"