aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/classpath/classpath-initial-native_0.93.bb
blob: 0cfa693d44aa3a9f84999e49eba8ee1f6d3c41b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# No later version of Classpath may be used because this is the latest that can be compiled
# by jikes!

require classpath-native.inc

DESCRIPTION="Java1.4-compatible GNU Classpath variant that is used as bootclasspath for jikes-native."
LIC_FILES_CHKSUM = "file://COPYING;md5=af0004801732bc4b20d90f351cf80510"
DEPENDS += "jikes-native"

PR = "${INC_PR}.2"

SRC_URI += " \
	    file://autotools.patch \
	    file://miscompilation.patch \
	   "

EXTRA_OECONF = " \
                --with-jikes=jikes \
                --with-fastjar=fastjar \
                --with-glibj \
                --disable-Werror \
                --disable-local-sockets \
                --disable-alsa \
                --disable-gconf-peer \
                --disable-gtk-peer \
                --disable-plugin \
                --disable-dssi \
                --disable-examples \
                --with-glibj-dir=${STAGING_DATADIR_NATIVE}/classpath-initial \
                --with-native-libdir=${STAGING_LIBDIR_NATIVE}/classpath-initial \
                --includedir=${STAGING_INCDIR_NATIVE}/classpath-initial \
                --with-vm=java \
              "

# Ensure tools.zip is not installed at same path as classpath-native
EXTRA_OEMAKE += "pkgdatadir=${STAGING_DATADIR_NATIVE}/classpath-initial"

# remove files clashing with classpath-native in sysroot
do_install_append() {

	for i in gappletviewer gjarsigner gkeytool gjar gnative2ascii gserialver grmiregistry gtnameserv gorbd grmid
	do
		rm ${D}${bindir}/${i}
	done
	rm ${D}${libdir}/logging.properties
	rm ${D}${libdir}/security/classpath.security
}
SRC_URI[md5sum] = "ffa9e9cac31c5acbf0ea9eff9efa923d"
SRC_URI[sha256sum] = "df2d093612abd23fe67e9409d89bb2a8e79b1664fe2b2da40e1c8ed693e32945"