aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Heinold <h.heinold@tarent.de>2010-07-12 15:36:42 +0200
committerHenning Heinold <h.heinold@tarent.de>2010-07-26 15:35:20 +0200
commit52e6ac22d5651d524d7b963ac33f874c549628f4 (patch)
tree6f427f2b3a2c5bfa026e133cf3dea0b905d76a9b
parent8bd0b4ed5485c532e6ea4e6f23a207d3a2d66ade (diff)
downloadopenembedded-52e6ac22d5651d524d7b963ac33f874c549628f4.zip
openembedded-52e6ac22d5651d524d7b963ac33f874c549628f4.tar.gz
openembedded-52e6ac22d5651d524d7b963ac33f874c549628f4.tar.bz2
jcraft: backport from openembedded-dev
* checksums already in conf/checksums.ini Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
-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 0000000..a93fa76
--- /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 0000000..a61888f
--- /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 0000000..e430a15
--- /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 0000000..4759e90
--- /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} .
+}