blob: 1bdfd78b99e785e3814b28bc3a4490aa1b2eecf6 (
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
DESCRIPTION = "GNU Classpath standard Java libraries"
HOMEPAGE = "http://www.gnu.org/software/classpath/"
SECTION = "libs"
# GPLv2 + custom linking exception
LICENSE = "Classpath"
PBN = "classpath"
inherit autotools java gettext
DEPENDS = "virtual/javac-native fastjar-native zip-native gmp antlr-native gtk+ gconf libxtst file"
RPROVIDES_${PN} = ""
RDEPENDS_${PN} = "${PBN}-common (>= ${PV})"
RDEPENDS_${PN}-examples = "java2-runtime ${PN}-awt"
RDEPENDS_${PN}-tools = "java2-runtime"
RPROVIDES_${PN} = "${PBN}"
RPROVIDES_${PN}-common = "${PBN}-common"
RPROVIDES_${PN}-gtk = "${PBN}-awt"
PR = "r3"
SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz"
S = "${WORKDIR}/${PBN}-${PV}"
export JAVA = "java"
EXTRA_OECONF = "\
--with-glibj \
--with-ecj=javac \
--with-fastjar=fastjar \
--includedir=${includedir}/classpath \
--with-vm=java \
--disable-Werror \
--with-antlr-jar=${STAGING_DATADIR_JAVA_NATIVE}/antlr.jar \
--with-gmp=${STAGING_LIBDIR}/.. \
--disable-alsa \
--disable-dssi \
--disable-qt4-peer \
--disable-plugin \
--enable-gconf-peer \
--enable-gtk-peer \
--enable-local-sockets \
--with-vm=java \
"
EXTRA_OECONF += "\
"
do_configure_prepend () {
cp ${STAGING_DATADIR_NATIVE}/gettext/config.rpath ${S}
}
do_install() {
autotools_do_install
mv ${D}${libdir}/security ${D}${libdir}/${PBN}
}
# We really have valid non-symlink .so files
INSANE_SKIP_${PN} = "dev-so"
# Defines the packages that this classpath recipe creates.
# This allows the classpath-minimal variants to override this
# again.
CPPACKAGES = "${PBN}-common ${PN}-examples \
${PN}-tools ${PN}-tools-doc \
${PN}-gtk ${PN}-gconf"
PACKAGES =+ "${CPPACKAGES}"
FILES_${PN}-dev += "${libdir}/${PBN}/*.la ${incdir}/${PBN}"
FILES_${PBN}-common = "${datadir}/${PBN}/glibj.zip ${libdir}/logging.properties ${libdir}/${PBN}/security"
FILES_${PN}-examples = "${datadir}/${PBN}/examples"
FILES_${PN}-tools = "${datadir}/${PBN}/tools.zip ${bindir}"
FILES_${PN}-tools-doc = "${mandir}"
FILES_${PN}-dbg += "${libdir}/${PBN}/.debug"
FILES_${PN}-doc = "${infodir}"
# gcjwebplugin - not built yet
#FILES_${PN}-gcjwebplugin = "${libdir}/${PBN}/libgcjwebplugin.so"
FILES_${PN}-gtk = "${libdir}/${PBN}/libgtkpeer.so ${libdir}/${PBN}/libjawt.so"
FILES_${PN}-gconf = "${libdir}/${PBN}/libgconfpeer.so"
FILES_${PN} = "${libdir}/${PBN}/lib*so*"
|