dev-java/icedtea/files/icedtea.env
author Da Risk <da_risk@geekorum.com>
Tue, 25 Mar 2014 18:25:54 +0100
changeset 126 96e9d963a239
parent 115 27c2a6303f2f
permissions -rw-r--r--
Merge review-27: Add ebuild for mps
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
115
27c2a6303f2f Add ebuild for icedtea which can build on hardened system with XATTRS_PAX
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     1
# Copyright 1999-2011 Gentoo Foundation
27c2a6303f2f Add ebuild for icedtea which can build on hardened system with XATTRS_PAX
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     2
# Distributed under the terms of the GNU General Public License v2
27c2a6303f2f Add ebuild for icedtea which can build on hardened system with XATTRS_PAX
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     3
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/files/icedtea.env,v 1.3 2011/11/28 15:29:59 sera Exp $
27c2a6303f2f Add ebuild for icedtea which can build on hardened system with XATTRS_PAX
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     4
27c2a6303f2f Add ebuild for icedtea which can build on hardened system with XATTRS_PAX
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     5
VERSION="IcedTea JDK @PV@"
27c2a6303f2f Add ebuild for icedtea which can build on hardened system with XATTRS_PAX
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     6
JAVA_HOME="@GENTOO_PORTAGE_EPREFIX@/usr/@LIBDIR@/icedtea@SLOT@"
27c2a6303f2f Add ebuild for icedtea which can build on hardened system with XATTRS_PAX
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     7
JDK_HOME="@GENTOO_PORTAGE_EPREFIX@/usr/@LIBDIR@/icedtea@SLOT@"
27c2a6303f2f Add ebuild for icedtea which can build on hardened system with XATTRS_PAX
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     8
JAVAC="${JAVA_HOME}/bin/javac"
27c2a6303f2f Add ebuild for icedtea which can build on hardened system with XATTRS_PAX
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     9
PATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
27c2a6303f2f Add ebuild for icedtea which can build on hardened system with XATTRS_PAX
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    10
ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
27c2a6303f2f Add ebuild for icedtea which can build on hardened system with XATTRS_PAX
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    11
LDPATH="${JAVA_HOME}/jre/lib/@PLATFORM@/:${JAVA_HOME}/jre/lib/@PLATFORM@/native_threads/:${JAVA_HOME}/jre/lib/@PLATFORM@/xawt/:${JAVA_HOME}/jre/lib/@PLATFORM@/server/"
27c2a6303f2f Add ebuild for icedtea which can build on hardened system with XATTRS_PAX
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    12
MANPATH="@GENTOO_PORTAGE_EPREFIX@/usr/@LIBDIR@/icedtea@SLOT@/man"
27c2a6303f2f Add ebuild for icedtea which can build on hardened system with XATTRS_PAX
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    13
PROVIDES_TYPE="JDK JRE"
27c2a6303f2f Add ebuild for icedtea which can build on hardened system with XATTRS_PAX
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    14
PROVIDES_VERSION="1.@SLOT@"
27c2a6303f2f Add ebuild for icedtea which can build on hardened system with XATTRS_PAX
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    15
# Taken from sun.boot.class.path property
27c2a6303f2f Add ebuild for icedtea which can build on hardened system with XATTRS_PAX
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    16
BOOTCLASSPATH="${JAVA_HOME}/jre/lib/resources.jar:${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/jsse.jar:${JAVA_HOME}/jre/lib/jce.jar:${JAVA_HOME}/jre/lib/charsets.jar"
27c2a6303f2f Add ebuild for icedtea which can build on hardened system with XATTRS_PAX
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    17
GENERATION="2"
27c2a6303f2f Add ebuild for icedtea which can build on hardened system with XATTRS_PAX
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    18
ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"