blob: 303195c850471b3305721336f1a148b7aa73a42a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
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_${PN} = "libjzlib-java"
PR = "r1"
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} .
}
SRC_URI[md5sum] = "b59cec19a487e95aed68378976b4b566"
SRC_URI[sha256sum] = "ca9d2ae08fd7a8983fb00d04f0f0c216a985218a5eb364ff9bee73870f28e097"
|