diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2011-11-12 20:58:34 +0100 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2011-11-26 23:41:44 +0100 |
commit | 57e069cde6617f00ca8834a82c6f360af43d5067 (patch) | |
tree | 48cbe15e96d217c45acfa64b0c13aad8c6424980 /recipes-core/classpath/classpath.inc | |
download | meta-java-57e069cde6617f00ca8834a82c6f360af43d5067.tar.gz |
meta-java: initial commit
* taken over mostly stuff from oe classic
* cleaned up recipes
* added license checksums
* bump icedtea6-native to 1.8.11
* use jamvm from git as native
Diffstat (limited to 'recipes-core/classpath/classpath.inc')
-rw-r--r-- | recipes-core/classpath/classpath.inc | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/recipes-core/classpath/classpath.inc b/recipes-core/classpath/classpath.inc new file mode 100644 index 0000000..dfe4a68 --- /dev/null +++ b/recipes-core/classpath/classpath.inc | |||
@@ -0,0 +1,86 @@ | |||
1 | DESCRIPTION = "GNU Classpath standard Java libraries" | ||
2 | HOMEPAGE = "http://www.gnu.org/software/classpath/" | ||
3 | SECTION = "libs" | ||
4 | PRIORITY = "optional" | ||
5 | LICENSE = "Classpath" | ||
6 | PBN = "classpath" | ||
7 | |||
8 | |||
9 | inherit autotools java | ||
10 | |||
11 | DEPENDS = "virtual/javac-native fastjar-native zip-native gettext-native gmp antlr-native gtk+ gconf libxtst" | ||
12 | |||
13 | RPROVIDES_${PN} = "" | ||
14 | |||
15 | RDEPENDS_${PN} = "${PBN}-common (>= ${PV})" | ||
16 | RDEPENDS_${PN}-examples = "java2-runtime ${PN}-awt" | ||
17 | RDEPENDS_${PN}-tools = "java2-runtime" | ||
18 | |||
19 | RPROVIDES_${PN} = "${PBN}" | ||
20 | RPROVIDES_${PN}-common = "${PBN}-common" | ||
21 | RPROVIDES_${PN}-gtk = "${PBN}-awt" | ||
22 | |||
23 | SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz" | ||
24 | |||
25 | S = "${WORKDIR}/${PBN}-${PV}" | ||
26 | |||
27 | export JAVA = "java" | ||
28 | |||
29 | EXTRA_OECONF = "\ | ||
30 | --with-glibj \ | ||
31 | --with-ecj=javac \ | ||
32 | --with-fastjar=fastjar \ | ||
33 | --includedir=${includedir}/classpath \ | ||
34 | --with-vm=java \ | ||
35 | --disable-Werror \ | ||
36 | --with-antlr-jar=${STAGING_DATADIR_JAVA_NATIVE}/antlr.jar \ | ||
37 | --disable-alsa \ | ||
38 | --disable-dssi \ | ||
39 | --disable-qt4-peer \ | ||
40 | --disable-plugin \ | ||
41 | --enable-gconf-peer \ | ||
42 | --enable-gtk-peer \ | ||
43 | --enable-local-sockets \ | ||
44 | --with-vm=java \ | ||
45 | " | ||
46 | |||
47 | |||
48 | EXTRA_OECONF += "\ | ||
49 | " | ||
50 | |||
51 | do_configure_prepend () { | ||
52 | cp ${STAGING_DATADIR_NATIVE}/gettext/config.rpath ${S} | ||
53 | } | ||
54 | |||
55 | |||
56 | do_install() { | ||
57 | autotools_do_install | ||
58 | mv ${D}${libdir}/security ${D}${libdir}/${PBN} | ||
59 | } | ||
60 | |||
61 | # Defines the packages that this classpath recipe creates. | ||
62 | # This allows the classpath-minimal variants to override this | ||
63 | # again. | ||
64 | CPPACKAGES = "${PBN}-common ${PN}-examples \ | ||
65 | ${PN}-tools ${PN}-tools-doc \ | ||
66 | ${PN}-gtk ${PN}-gconf" | ||
67 | |||
68 | PACKAGES =+ "${CPPACKAGES}" | ||
69 | |||
70 | FILES_${PN}-dev += "${libdir}/${PBN}/*.la ${incdir}/${PBN}" | ||
71 | |||
72 | FILES_${PBN}-common = "${datadir}/${PBN}/glibj.zip ${libdir}/logging.properties ${libdir}/${PBN}/security" | ||
73 | FILES_${PN}-examples = "${datadir}/${PBN}/examples" | ||
74 | |||
75 | FILES_${PN}-tools = "${datadir}/${PBN}/tools.zip ${bindir}" | ||
76 | FILES_${PN}-tools-doc = "${mandir}" | ||
77 | |||
78 | FILES_${PN}-dbg += "${libdir}/${PBN}/.debug" | ||
79 | FILES_${PN}-doc = "${infodir}" | ||
80 | |||
81 | # gcjwebplugin - not built yet | ||
82 | #FILES_${PN}-gcjwebplugin = "${libdir}/${PBN}/libgcjwebplugin.so" | ||
83 | FILES_${PN}-gtk = "${libdir}/${PBN}/libgtkpeer.so ${libdir}/${PBN}/libjawt.so" | ||
84 | FILES_${PN}-gconf = "${libdir}/${PBN}/libgconfpeer.so" | ||
85 | FILES_${PN} = "${libdir}/${PBN}/lib*so*" | ||
86 | |||