diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/jcraft/jsch-native_0.1.40.bb | 8 | ||||
-rw-r--r-- | recipes/jcraft/jsch_0.1.40.bb | 21 | ||||
-rw-r--r-- | recipes/jcraft/jzlib-native_1.0.7.bb | 6 | ||||
-rw-r--r-- | recipes/jcraft/jzlib_1.0.7.bb | 18 |
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} . +} |