diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2007-08-21 19:49:12 +0000 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2007-08-21 19:49:12 +0000 |
commit | 1c9359fb286e025b821eacf01d0bf92e6ae6f13d (patch) | |
tree | 48fdd2838e6d40c7bdf7f1714505b89fb3f1fa6c /packages/classpath/classpath-minimal_0.95.bb | |
parent | 6976ef3671005647502a9d7cbd37ca551cb5f538 (diff) |
classpath-minimal: rework recpies and using share/java
* remove classpath-minimal.inc, 2 files are enough
* use ${DATADIR}/java/classpath-minimal for installing glibj.zip
Diffstat (limited to 'packages/classpath/classpath-minimal_0.95.bb')
-rw-r--r-- | packages/classpath/classpath-minimal_0.95.bb | 40 |
1 files changed, 37 insertions, 3 deletions
diff --git a/packages/classpath/classpath-minimal_0.95.bb b/packages/classpath/classpath-minimal_0.95.bb index e489a4efc9..3a4756094f 100644 --- a/packages/classpath/classpath-minimal_0.95.bb +++ b/packages/classpath/classpath-minimal_0.95.bb @@ -1,5 +1,39 @@ +DESCRIPTION = "GNU Classpath standard Java libraries" +HOMEPAGE = "http://www.gnu.org/software/classpath/" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "Classpath" +PROVIDES = "classpath" +RPROVIDES = "classpath" -# classpath-minimal-native has no packages -# primary goal is to speed up building of java virtual machines +S = "${WORKDIR}/classpath-${PV}" -require classpath-minimal.inc +SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz" + +DEPENDS = "ecj-native zip-native" + +inherit autotools + + +EXTRA_OECONF = "--with-glibj \ + --with-ecj=${STAGING_BINDIR_NATIVE}/ecj \ + --disable-alsa \ + --disable-gconf-peer \ + --disable-gtk-peer \ + --disable-plugin \ + --disable-dssi \ + --disable-examples \ + " +do_install() { + : +} + +do_stage() { + install -d ${STAGING_INCDIR}/classpath-minimal/ + install -m 0644 include/jni.h ${STAGING_INCDIR}/classpath-minimal/ + install -m 0644 include/jni_md.h ${STAGING_INCDIR}/classpath-minimal/ + install -d ${STAGING_DATADIR}/java/classpath-minimal/ + install -m 0644 lib/glibj.zip ${STAGING_DATADIR}/java/classpath-minimal/ +} + +PACKAGES = " " |