summaryrefslogtreecommitdiff
path: root/recipes/jcraft
diff options
context:
space:
mode:
authorRobert Schuster <robertschuster@fsfe.org>2009-09-18 14:17:18 +0200
committerRobert Schuster <robertschuster@fsfe.org>2009-09-18 14:17:18 +0200
commit02d7af7ebb75a90929200905cfb6d3f8b07dbd11 (patch)
tree4a1a480beb13a014fee8b901a03a18984416a309 /recipes/jcraft
parent4fa1b8b0741b8d1bc1ce11cef98e1d284a1fd6ef (diff)
jsch 0.1.40: New recipe (from Jalimo SVN).
jsch-native 0.1.40: Dito. jzlib 1.0.7: Dito. jzlib-native 1.0.7: Dito.
Diffstat (limited to 'recipes/jcraft')
-rw-r--r--recipes/jcraft/jsch-native_0.1.40.bb8
-rw-r--r--recipes/jcraft/jsch_0.1.40.bb21
-rw-r--r--recipes/jcraft/jzlib-native_1.0.7.bb6
-rw-r--r--recipes/jcraft/jzlib_1.0.7.bb18
4 files changed, 53 insertions, 0 deletions
diff --git a/recipes/jcraft/jsch-native_0.1.40.bb b/recipes/jcraft/jsch-native_0.1.40.bb
new file mode 100644
index 0000000000..a93fa76c7f
--- /dev/null
+++ b/recipes/jcraft/jsch-native_0.1.40.bb
@@ -0,0 +1,8 @@
+require jsch_${PV}.bb
+
+S = "${WORKDIR}/jsch-${PV}"
+
+inherit java-native
+
+DEPENDS = "fastjar-native jzlib-native"
+RDEPENDS = ""
diff --git a/recipes/jcraft/jsch_0.1.40.bb b/recipes/jcraft/jsch_0.1.40.bb
new file mode 100644
index 0000000000..a61888fd7d
--- /dev/null
+++ b/recipes/jcraft/jsch_0.1.40.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "SSH implementation in Java"
+LICENSES = "BSD"
+
+HOMEPAGE = "http://www.jcraft.com/jsch"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/jsch/jsch-${PV}.zip"
+
+inherit java-library
+
+DEPENDS = "fastjar-native jzlib"
+RDEPENDS = "libjzlib-java"
+
+do_compile() {
+ mkdir -p build
+
+ oe_makeclasspath cp -s jzlib
+
+ javac -sourcepath src -cp $cp -d build `find src -name "*.java"`
+
+ fastjar -C build -c -f ${JARFILENAME} .
+}
diff --git a/recipes/jcraft/jzlib-native_1.0.7.bb b/recipes/jcraft/jzlib-native_1.0.7.bb
new file mode 100644
index 0000000000..e430a15cf9
--- /dev/null
+++ b/recipes/jcraft/jzlib-native_1.0.7.bb
@@ -0,0 +1,6 @@
+require jzlib_${PV}.bb
+
+S = "${WORKDIR}/jzlib-${PV}"
+
+inherit java-native
+
diff --git a/recipes/jcraft/jzlib_1.0.7.bb b/recipes/jcraft/jzlib_1.0.7.bb
new file mode 100644
index 0000000000..4759e90b46
--- /dev/null
+++ b/recipes/jcraft/jzlib_1.0.7.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "zlib implementation in Java"
+LICENSES = "BSD"
+
+HOMEPAGE = "http://www.jcraft.com/jzlib"
+
+SRC_URI = "http://www.jcraft.com/jzlib/jzlib-${PV}.tar.gz"
+
+inherit java-library
+
+DEPENDS = "fastjar-native"
+
+do_compile() {
+ mkdir -p build
+
+ javac -sourcepath . -d build `find com -name "*.java"`
+
+ fastjar -C build -c -f ${JARFILENAME} .
+}