diff options
Diffstat (limited to 'recipes-core/classpath/classpath-initial-native_0.93.bb')
-rw-r--r-- | recipes-core/classpath/classpath-initial-native_0.93.bb | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/recipes-core/classpath/classpath-initial-native_0.93.bb b/recipes-core/classpath/classpath-initial-native_0.93.bb new file mode 100644 index 0000000..0cfa693 --- /dev/null +++ b/recipes-core/classpath/classpath-initial-native_0.93.bb | |||
@@ -0,0 +1,50 @@ | |||
1 | # No later version of Classpath may be used because this is the latest that can be compiled | ||
2 | # by jikes! | ||
3 | |||
4 | require classpath-native.inc | ||
5 | |||
6 | DESCRIPTION="Java1.4-compatible GNU Classpath variant that is used as bootclasspath for jikes-native." | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=af0004801732bc4b20d90f351cf80510" | ||
8 | DEPENDS += "jikes-native" | ||
9 | |||
10 | PR = "${INC_PR}.2" | ||
11 | |||
12 | SRC_URI += " \ | ||
13 | file://autotools.patch \ | ||
14 | file://miscompilation.patch \ | ||
15 | " | ||
16 | |||
17 | EXTRA_OECONF = " \ | ||
18 | --with-jikes=jikes \ | ||
19 | --with-fastjar=fastjar \ | ||
20 | --with-glibj \ | ||
21 | --disable-Werror \ | ||
22 | --disable-local-sockets \ | ||
23 | --disable-alsa \ | ||
24 | --disable-gconf-peer \ | ||
25 | --disable-gtk-peer \ | ||
26 | --disable-plugin \ | ||
27 | --disable-dssi \ | ||
28 | --disable-examples \ | ||
29 | --with-glibj-dir=${STAGING_DATADIR_NATIVE}/classpath-initial \ | ||
30 | --with-native-libdir=${STAGING_LIBDIR_NATIVE}/classpath-initial \ | ||
31 | --includedir=${STAGING_INCDIR_NATIVE}/classpath-initial \ | ||
32 | --with-vm=java \ | ||
33 | " | ||
34 | |||
35 | # Ensure tools.zip is not installed at same path as classpath-native | ||
36 | EXTRA_OEMAKE += "pkgdatadir=${STAGING_DATADIR_NATIVE}/classpath-initial" | ||
37 | |||
38 | # remove files clashing with classpath-native in sysroot | ||
39 | do_install_append() { | ||
40 | |||
41 | for i in gappletviewer gjarsigner gkeytool gjar gnative2ascii gserialver grmiregistry gtnameserv gorbd grmid | ||
42 | do | ||
43 | rm ${D}${bindir}/${i} | ||
44 | done | ||
45 | rm ${D}${libdir}/logging.properties | ||
46 | rm ${D}${libdir}/security/classpath.security | ||
47 | } | ||
48 | SRC_URI[md5sum] = "ffa9e9cac31c5acbf0ea9eff9efa923d" | ||
49 | SRC_URI[sha256sum] = "df2d093612abd23fe67e9409d89bb2a8e79b1664fe2b2da40e1c8ed693e32945" | ||
50 | |||