summaryrefslogtreecommitdiff
path: root/packages/midpath/midpath.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/midpath/midpath.inc')
-rw-r--r--packages/midpath/midpath.inc22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/midpath/midpath.inc b/packages/midpath/midpath.inc
new file mode 100644
index 0000000000..7f6e4f3d31
--- /dev/null
+++ b/packages/midpath/midpath.inc
@@ -0,0 +1,22 @@
+DESCRIPTION = "MIDPath is a Java library which provides a MIDP2 implementation"
+HOMEPAGE = "http://midpath.thenesis.org/"
+LICENSE = "GPL"
+PRIORITY = "optional"
+SECTION = "interpreters"
+PR = "r0"
+
+SRC_URI = "http://downloads.sourceforge.net/midpath/midpath-${PV}.tar.gz"
+
+S = "${WORKDIR}/midpath-${PV}"
+
+DEPENDS = "ecj-native fastjar-native classpath-minimal"
+
+JAVAC_CMD = "${STAGING_BINDIR_NATIVE}/ecj"
+
+FASTJAR_CMD = "${STAGING_BINDIR_NATIVE}/fastjar"
+
+JAVA_PATH = "${STAGING_DATADIR}/java"
+
+GNU_CLASSPATH_PATH = "${JAVA_PATH}/classpath-minimal/glibj.zip"
+
+CLDC_PATH = ${JAVA_PATH}/cldc1.1.jar