summaryrefslogtreecommitdiff
path: root/recipes/jacl
diff options
context:
space:
mode:
authorRobert Schuster <robertschuster@fsfe.org>2009-09-18 14:16:00 +0200
committerRobert Schuster <robertschuster@fsfe.org>2009-09-18 14:16:00 +0200
commit4fa1b8b0741b8d1bc1ce11cef98e1d284a1fd6ef (patch)
tree5ffc542c767483ad3383d8588cca6408e8840a91 /recipes/jacl
parent9360aebebce14938c89e5f7f9c411573f541d899 (diff)
jacl 1.4.1: New recipe (from Jalimo SVN).
jacl-native 1.4.1: Dito.
Diffstat (limited to 'recipes/jacl')
-rw-r--r--recipes/jacl/jacl-native_1.4.1.bb4
-rw-r--r--recipes/jacl/jacl_1.4.1.bb20
2 files changed, 24 insertions, 0 deletions
diff --git a/recipes/jacl/jacl-native_1.4.1.bb b/recipes/jacl/jacl-native_1.4.1.bb
new file mode 100644
index 0000000000..b0a0638dde
--- /dev/null
+++ b/recipes/jacl/jacl-native_1.4.1.bb
@@ -0,0 +1,4 @@
+require jacl_${PV}.bb
+
+inherit java-native
+
diff --git a/recipes/jacl/jacl_1.4.1.bb b/recipes/jacl/jacl_1.4.1.bb
new file mode 100644
index 0000000000..7c66c3ef7c
--- /dev/null
+++ b/recipes/jacl/jacl_1.4.1.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "Tcl interpreter for Java"
+LICENSES = "BSD"
+
+HOMEPAGE = "http://sourceforge.net/projects/tcljava"
+
+SRC_URI = "http://downloads.sourceforge.net/tcljava/jacl${PV}.tar.gz"
+
+inherit java-library
+
+S = "${WORKDIR}/jacl${PV}"
+
+DEPENDS = "fastjar-native"
+
+do_compile() {
+ mkdir -p build
+
+ javac -sourcepath src/tcljava:src/jacl -d build `find src/tcljava src/jacl -name "*.java"`
+
+ fastjar -C build -c -f ${JARFILENAME} .
+}