aboutsummaryrefslogtreecommitdiffstats
path: root/packages/midpath/midpath-common.inc
diff options
context:
space:
mode:
authorRobert Schuster <thebohemian@gmx.net>2008-06-27 01:01:29 +0000
committerRobert Schuster <thebohemian@gmx.net>2008-06-27 01:01:29 +0000
commitff39b335b0bd4eea36282479718035ccca72f9d4 (patch)
tree4ca39c7600af79d32484cc192afd13f305210bef /packages/midpath/midpath-common.inc
parent112f0a4352b46a805c466ffebd664cfc9f64872d (diff)
downloadopenembedded-ff39b335b0bd4eea36282479718035ccca72f9d4.tar.gz
Removal of midpath 0.1, addition of midpath 0.3 rc1
midpath-alsa 0.1: Removed. midpath-cldc-native 0.1: Removed. midpath-cldc-sdl 0.1: Removed. midpath-cldc-x11 0.1: Removed. midpath-cldc 0.1: Removed. midpath-gtk 0.1: Removed. midpath-pulseaudio 0.1: Removed. midpath-qt3x11 0.1: Removed. midpath-qte 0.1: Removed. midpath-test 0.1: Removed. midpath 0.1: Removed. midpath-backend-alsa 0.2+0.3rc1: New recipe. midpath-backend-escher 0.2+0.3rc1: New recipe. midpath-backend-esd 0.2+0.3rc1: New recipe. midpath-backend-fb 0.2+0.3rc1: New recipe. midpath-backend-gtk 0.2+0.3rc1: New recipe. midpath-backend-gtk-hildon 0.2+0.3rc1: New recipe. midpath-backend-pulseaudio 0.2+0.3rc1: New recipe. midpath-backend-qt3x11 0.2+0.3rc1: New recipe. midpath-backend-qt4x11 0.2+0.3rc1: New recipe. midpath-backend-qte 0.2+0.3rc1: New recipe. midpath-backend-sdl 0.2+0.3rc1: New recipe. midpath-cldc 0.2+0.3rc1: New recipe. midpath-core 0.2+0.3rc1: New recipe. midpath-demos 0.2+0.3rc1: New recipe. midpath-jgl 0.2+0.3rc1: New recipe. midpath-location 0.2+0.3rc1: New recipe. midpath-m3g 0.2+0.3rc1: New recipe. midpath-maemo 0.2+0.3rc1: New recipe. midpath-messaging 0.2+0.3rc1: New recipe. midpath-opengles 0.2+0.3rc1: New recipe. midpath-openmoko 0.2+0.3rc1: New recipe. midpath-svg 0.2+0.3rc1: New recipe. midpath-webservices 0.2+0.3rc1: New recipe.
Diffstat (limited to 'packages/midpath/midpath-common.inc')
-rw-r--r--packages/midpath/midpath-common.inc33
1 files changed, 33 insertions, 0 deletions
diff --git a/packages/midpath/midpath-common.inc b/packages/midpath/midpath-common.inc
new file mode 100644
index 0000000000..1690b4fc44
--- /dev/null
+++ b/packages/midpath/midpath-common.inc
@@ -0,0 +1,33 @@
+inherit java
+
+HOMEPAGE = "http://midpath.thenesis.org/"
+LICENSE = "GPL"
+PRIORITY = "optional"
+SECTION = "interpreters"
+
+DEPENDS = "virtual/javac-native classpath-native classpath fastjar-native"
+
+GLIBJ_ZIP = "${STAGING_DATADIR}/classpath/glibj.zip"
+
+CLDC_JAR = "${STAGING_DATADIR}/midpath-cldc/midpath-cldc1.1.jar"
+
+do_unpackpost() {
+ # Remove unneccessary binary bits.
+ find lib -name "*.jar" -exec rm \{\} \;
+}
+
+addtask unpackpost after do_unpack before do_patch
+
+midpath_build() {
+ sh build.sh \
+ --enable-fastjar \
+ --with-j2se-jar ${GLIBJ_ZIP} \
+ --with-jar=fastjar \
+ --with-javac=javac \
+ --with-cldc-jar=${CLDC_JAR} \
+ --with-midpath-jar=${STAGING_DATADIR}/midpath/midpath.jar \
+ --with-kxml="${STAGING_DATADIR_JAVA}/kxml2.jar:${STAGING_DATADIR_JAVA}/xmlpull.jar" \
+ --with-jni-include="-I${STAGING_INCDIR}/classpath" \
+ "$@"
+
+}