blob: a61888fd7d357625fd1595636bda3fe9c144c9fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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} .
}
|