diff options
Diffstat (limited to 'recipes/jcraft/jsch_0.1.40.bb')
-rw-r--r-- | recipes/jcraft/jsch_0.1.40.bb | 21 |
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} . +} |