summaryrefslogtreecommitdiff
path: root/packages/kaffe
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-04-06 12:13:58 +0000
committerMichael Lauer <mickey@vanille-media.de>2005-04-06 12:13:58 +0000
commitf1faa1f23c9c295c830d6f8fe559302116963ac9 (patch)
tree579b03e8eafc95923cf07cf005787e998e4cb2ad /packages/kaffe
parent1b21711eee80c49e628967c011207c13daed6b47 (diff)
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages 2005/04/06 14:03:30+02:00 dyndns.org!reenoo Merge oe-devel@oe-devel.bkbits.net:openembedded into sugarcube.dyndns.org:/home2/oe/bakery/openembedded 2005/04/06 14:03:11+02:00 dyndns.org!reenoo kaffe: - move SRC_URI from .inc to individual .bbs. - mark kaffe-qt as BROKEN since totally untested. - split off java bytecode package. BKrev: 4253d286KXaNT7qvXjeavX1u__4N4Q
Diffstat (limited to 'packages/kaffe')
-rw-r--r--packages/kaffe/kaffe-gtk_cvs.bb6
-rw-r--r--packages/kaffe/kaffe-qt_cvs.bb7
-rw-r--r--packages/kaffe/kaffe.inc14
-rw-r--r--packages/kaffe/kaffeh-native_cvs.bb6
4 files changed, 25 insertions, 8 deletions
diff --git a/packages/kaffe/kaffe-gtk_cvs.bb b/packages/kaffe/kaffe-gtk_cvs.bb
index 84d80dbb1c..c4e321fc6c 100644
--- a/packages/kaffe/kaffe-gtk_cvs.bb
+++ b/packages/kaffe/kaffe-gtk_cvs.bb
@@ -1,6 +1,10 @@
-include kaffe.inc
MAINTAINER = "Rene Wagner <rw@handhelds.org>"
+
PV = "1.1.4+cvs${CVSDATE}"
+SRC_URI = "cvs://readonly:readonly@cvs.kaffe.org/cvs/kaffe;module=kaffe"
+S = "${WORKDIR}/kaffe"
+
+include kaffe.inc
DEPENDS += "glib-2.0 gmp gtk+ libart-lgpl pango zlib kaffeh-native"
diff --git a/packages/kaffe/kaffe-qt_cvs.bb b/packages/kaffe/kaffe-qt_cvs.bb
index 9b7e5b2d55..06fbf68b90 100644
--- a/packages/kaffe/kaffe-qt_cvs.bb
+++ b/packages/kaffe/kaffe-qt_cvs.bb
@@ -1,6 +1,11 @@
-include kaffe.inc
+BROKEN = "1"
PV = "1.1.4+cvs${CVSDATE}"
+SRC_URI = "cvs://readonly:readonly@cvs.kaffe.org/cvs/kaffe;module=kaffe"
+S = "${WORKDIR}/kaffe"
+
+include kaffe.inc
+
DEPENDS += "libqpe-opie"
CXXFLAGS += " -DQPE "
diff --git a/packages/kaffe/kaffe.inc b/packages/kaffe/kaffe.inc
index 48023d4f9f..3ea8bd68e7 100644
--- a/packages/kaffe/kaffe.inc
+++ b/packages/kaffe/kaffe.inc
@@ -4,19 +4,20 @@ LICENSE = "GPL LGPL W3C Classpath BSD"
DEPENDS = "jikes-native fastjar-native"
-SRC_URI = "cvs://readonly:readonly@cvs.kaffe.org/cvs/kaffe;module=kaffe \
- file://disable-automake-checks.patch;patch=1"
-S = "${WORKDIR}/kaffe"
+SRC_URI += "file://disable-automake-checks.patch;patch=1"
inherit autotools gettext
-EXTRA_OECONF = "--with-engine=jit \
+EXTRA_OECONF = "--with-engine=intrp \
+ --with-libffi \
--with-threads=unix-pthreads \
--disable-alsatest \
--disable-esdtest \
--disable-sound \
--with-jikes"
+CFLAGS += "-D_GNU_SOURCE"
+
# kaffe installs to non-standard locations. apply a similar workaround to
# the one used in debian. i.e. override prefix
oe_runconf () {
@@ -41,7 +42,11 @@ oe_runconf () {
oefatal "no configure script found"
fi
}
+
+PACKAGES =+ "${PN}-common"
FILES_${PN} += "${libdir}/${PN}"
+RDEPENDS_${PN} = "${PN}-common (>= ${PV})"
+FILES_${PN}-common = "${libdir}/${PN}/jre/lib/*.jar"
do_install () {
autotools_do_install
@@ -49,6 +54,7 @@ do_install () {
# move partially duplicate stuff to a single location
mv -f ${D}${libdir}/${PN}/bin/* ${D}${libdir}/${PN}/jre/bin
rmdir ${D}${libdir}/${PN}/bin
+ cd ${D}${libdir}/${PN} && ln -s jre/bin
}
# use update-alternatives for the various wrapper scripts
diff --git a/packages/kaffe/kaffeh-native_cvs.bb b/packages/kaffe/kaffeh-native_cvs.bb
index f5bca088eb..5c2d7c1907 100644
--- a/packages/kaffe/kaffeh-native_cvs.bb
+++ b/packages/kaffe/kaffeh-native_cvs.bb
@@ -1,6 +1,8 @@
-include kaffe.inc
-
PV = "1.1.4+cvs${CVSDATE}"
+SRC_URI = "cvs://readonly:readonly@cvs.kaffe.org/cvs/kaffe;module=kaffe"
+S = "${WORKDIR}/kaffe"
+
+include kaffe.inc
inherit native