Line
Link Here
|
0 |
-- icedtea-7.2.3.3.ebuild |
0 |
++ icedtea-7.2.3.3.ebuild |
Lines 14-42
Link Here
|
14 |
ICEDTEA_VER=$(get_version_component_range 2-) |
14 |
ICEDTEA_VER=$(get_version_component_range 2-) |
15 |
ICEDTEA_BRANCH=$(get_version_component_range 2-3) |
15 |
ICEDTEA_BRANCH=$(get_version_component_range 2-3) |
16 |
ICEDTEA_PKG=icedtea-${ICEDTEA_VER} |
16 |
ICEDTEA_PKG=icedtea-${ICEDTEA_VER} |
|
|
17 |
|
18 |
ICEDTEA_TARBALL="${ICEDTEA_PKG}.tar.gz" |
19 |
OPENJDK_TARBALL="301e79a966b4.tar.gz" |
17 |
CORBA_TARBALL="9a95d714d136.tar.gz" |
20 |
CORBA_TARBALL="9a95d714d136.tar.gz" |
|
|
21 |
HOTSPOT_TARBALL="d2d0a106917c.tar.gz" |
18 |
JAXP_TARBALL="f45296ac69be.tar.gz" |
22 |
JAXP_TARBALL="f45296ac69be.tar.gz" |
19 |
JAXWS_TARBALL="03f54ef33914.tar.gz" |
23 |
JAXWS_TARBALL="03f54ef33914.tar.gz" |
20 |
JDK_TARBALL="5ec94d162f05.tar.gz" |
24 |
JDK_TARBALL="5ec94d162f05.tar.gz" |
21 |
LANGTOOLS_TARBALL="ec73c6927fb7.tar.gz" |
25 |
LANGTOOLS_TARBALL="ec73c6927fb7.tar.gz" |
22 |
OPENJDK_TARBALL="301e79a966b4.tar.gz" |
|
|
23 |
HOTSPOT_TARBALL="d2d0a106917c.tar.gz" |
24 |
CACAO_TARBALL="a567bcb7f589.tar.gz" |
26 |
CACAO_TARBALL="a567bcb7f589.tar.gz" |
25 |
JAMVM_TARBALL="jamvm-0972452d441544f7dd29c55d64f1ce3a5db90d82.tar.gz" |
27 |
JAMVM_TARBALL="jamvm-0972452d441544f7dd29c55d64f1ce3a5db90d82.tar.gz" |
26 |
|
28 |
|
|
|
29 |
ICEDTEA_GENTOO_TARBALL="${P}.tar.gz" |
30 |
OPENJDK_GENTOO_TARBALL="${P}-openjdk-${OPENJDK_TARBALL}" |
31 |
CORBA_GENTOO_TARBALL="${P}-corba-${CORBA_TARBALL}" |
32 |
HOTSPOT_GENTOO_TARBALL="${P}-hotspot-${HOTSPOT_TARBALL}" |
33 |
JAXP_GENTOO_TARBALL="${P}-jaxp-${JAXP_TARBALL}" |
34 |
JAXWS_GENTOO_TARBALL="${P}-jaxws-${JAXWS_TARBALL}" |
35 |
JDK_GENTOO_TARBALL="${P}-jdk-${JDK_TARBALL}" |
36 |
LANGTOOLS_GENTOO_TARBALL="${P}-langtools-${LANGTOOLS_TARBALL}" |
37 |
CACAO_GENTOO_TARBALL="${P}-cacao-${CACAO_TARBALL}" |
38 |
JAMVM_GENTOO_TARBALL="${P}-${JAMVM_TARBALL}" |
39 |
|
27 |
DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies" |
40 |
DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies" |
28 |
HOMEPAGE="http://icedtea.classpath.org" |
41 |
HOMEPAGE="http://icedtea.classpath.org" |
29 |
SRC_URI=" |
42 |
SRC_URI=" |
30 |
http://icedtea.classpath.org/download/source/${ICEDTEA_PKG}.tar.gz |
43 |
http://icedtea.classpath.org/download/source/${ICEDTEA_TARBALL} -> ${ICEDTEA_GENTOO_TARBALL} |
31 |
http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/archive/${OPENJDK_TARBALL} |
44 |
http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/archive/${OPENJDK_TARBALL} -> ${OPENJDK_GENTOO_TARBALL} |
32 |
http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/corba/archive/${CORBA_TARBALL} |
45 |
http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/corba/archive/${CORBA_TARBALL} -> ${CORBA_GENTOO_TARBALL} |
33 |
http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/jaxp/archive/${JAXP_TARBALL} |
46 |
http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/hotspot/archive/${HOTSPOT_TARBALL} -> ${HOTSPOT_GENTOO_TARBALL} |
34 |
http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/jaxws/archive/${JAXWS_TARBALL} |
47 |
http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/jaxp/archive/${JAXP_TARBALL} -> ${JAXP_GENTOO_TARBALL} |
35 |
http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/jdk/archive/${JDK_TARBALL} |
48 |
http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/jaxws/archive/${JAXWS_TARBALL} -> ${JAXWS_GENTOO_TARBALL} |
36 |
http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/hotspot/archive/${HOTSPOT_TARBALL} |
49 |
http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/jdk/archive/${JDK_TARBALL} -> ${JDK_GENTOO_TARBALL} |
37 |
http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/langtools/archive/${LANGTOOLS_TARBALL} |
50 |
http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/langtools/archive/${LANGTOOLS_TARBALL} -> ${LANGTOOLS_GENTOO_TARBALL} |
38 |
http://icedtea.classpath.org/download/drops/cacao/${CACAO_TARBALL} |
51 |
http://icedtea.classpath.org/download/drops/cacao/${CACAO_TARBALL} -> ${CACAO_GENTOO_TARBALL} |
39 |
http://icedtea.classpath.org/download/drops/jamvm/${JAMVM_TARBALL}" |
52 |
http://icedtea.classpath.org/download/drops/jamvm/${JAMVM_TARBALL} -> ${JAMVM_GENTOO_TARBALL}" |
40 |
|
53 |
|
41 |
LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C" |
54 |
LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C" |
42 |
SLOT="7" |
55 |
SLOT="7" |
Lines 147-153
Link Here
|
147 |
} |
160 |
} |
148 |
|
161 |
|
149 |
src_unpack() { |
162 |
src_unpack() { |
150 |
unpack ${ICEDTEA_PKG}.tar.gz |
163 |
unpack ${ICEDTEA_GENTOO_TARBALL} |
151 |
} |
164 |
} |
152 |
|
165 |
|
153 |
java_prepare() { |
166 |
java_prepare() { |
Lines 212-226
Link Here
|
212 |
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS |
225 |
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS |
213 |
|
226 |
|
214 |
econf ${config} \ |
227 |
econf ${config} \ |
215 |
--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \ |
228 |
--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_GENTOO_TARBALL}" \ |
216 |
--with-corba-src-zip="${DISTDIR}/${CORBA_TARBALL}" \ |
229 |
--with-corba-src-zip="${DISTDIR}/${CORBA_GENTOO_TARBALL}" \ |
217 |
--with-jaxp-src-zip="${DISTDIR}/${JAXP_TARBALL}" \ |
230 |
--with-hotspot-src-zip="${DISTDIR}/${HOTSPOT_GENTOO_TARBALL}" \ |
218 |
--with-jaxws-src-zip="${DISTDIR}/${JAXWS_TARBALL}" \ |
231 |
--with-jaxp-src-zip="${DISTDIR}/${JAXP_GENTOO_TARBALL}" \ |
219 |
--with-jdk-src-zip="${DISTDIR}/${JDK_TARBALL}" \ |
232 |
--with-jaxws-src-zip="${DISTDIR}/${JAXWS_GENTOO_TARBALL}" \ |
220 |
--with-hotspot-src-zip="${DISTDIR}/${HOTSPOT_TARBALL}" \ |
233 |
--with-jdk-src-zip="${DISTDIR}/${JDK_GENTOO_TARBALL}" \ |
221 |
--with-langtools-src-zip="${DISTDIR}/${LANGTOOLS_TARBALL}" \ |
234 |
--with-langtools-src-zip="${DISTDIR}/${LANGTOOLS_GENTOO_TARBALL}" \ |
222 |
--with-cacao-src-zip="${DISTDIR}/${CACAO_TARBALL}" \ |
235 |
--with-cacao-src-zip="${DISTDIR}/${CACAO_GENTOO_TARBALL}" \ |
223 |
--with-jamvm-src-zip="${DISTDIR}/${JAMVM_TARBALL}" \ |
236 |
--with-jamvm-src-zip="${DISTDIR}/${JAMVM_GENTOO_TARBALL}" \ |
224 |
--with-jdk-home="$(java-config -O)" \ |
237 |
--with-jdk-home="$(java-config -O)" \ |
225 |
--with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \ |
238 |
--with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \ |
226 |
--disable-downloading --disable-Werror \ |
239 |
--disable-downloading --disable-Werror \ |