summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-05-10 23:30:50 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-05-10 23:30:50 +0000
commit48073735fb3eba44a8b4d6141e5cf5e330a5601c (patch)
treef8d1dd51405df3bf5c42eb3c32f06580c9480cfe
parente507cdb48294fea5ca7c2afc6d2e814facdacfe8 (diff)
ecj: add native package. Partly closes 2296.
-rw-r--r--packages/ecj/.mtn2git_empty0
-rw-r--r--packages/ecj/ecj-native_3.2.2.bb17
-rw-r--r--packages/ecj/files/.mtn2git_empty0
-rw-r--r--packages/ecj/files/ecj.sh3
4 files changed, 20 insertions, 0 deletions
diff --git a/packages/ecj/.mtn2git_empty b/packages/ecj/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ecj/.mtn2git_empty
diff --git a/packages/ecj/ecj-native_3.2.2.bb b/packages/ecj/ecj-native_3.2.2.bb
new file mode 100644
index 0000000000..8afa2653ca
--- /dev/null
+++ b/packages/ecj/ecj-native_3.2.2.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "JDT Core Batch Compiler"
+HOMEPAGE = "http://www.eclipse.org/"
+PRIORITY = "optional"
+SECTION = "devel"
+LICENSE = "EPL"
+PR = "r0"
+
+inherit native
+
+SRC_URI = "http://mirrors.ibiblio.org/pub/mirrors/eclipse/eclipse/downloads/drops/R-3.2.2-200702121330/ecj.jar \
+ file://ecj.sh"
+
+do_stage() {
+ install -d ${STAGING_BINDIR_NATIVE}
+ install -m 755 ${S}/../ecj.jar ${STAGING_BINDIR_NATIVE}
+ install -m 755 ${S}/../ecj.sh ${STAGING_BINDIR_NATIVE}/ecj
+}
diff --git a/packages/ecj/files/.mtn2git_empty b/packages/ecj/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ecj/files/.mtn2git_empty
diff --git a/packages/ecj/files/ecj.sh b/packages/ecj/files/ecj.sh
new file mode 100644
index 0000000000..75aa2c2287
--- /dev/null
+++ b/packages/ecj/files/ecj.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+java -Xmx512m -jar $0.jar "$@"