summaryrefslogtreecommitdiff
path: root/recipes/jcraft/jsch_0.1.40.bb
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/jsch_0.1.40.bb
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/jsch_0.1.40.bb')
-rw-r--r--recipes/jcraft/jsch_0.1.40.bb21
1 files changed, 21 insertions, 0 deletions
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} .
+}