blob: aeae030f8e6f3ef1076d26fe3459536b4e29c851 (
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 = "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} .
}
SRC_URI[md5sum] = "3c52a0afb970e8a1fb2d34f30d330a83"
SRC_URI[sha256sum] = "20923a3f771a14c58c8cddfff2b589d568aff09f8a931919dc63ddaabb32407a"
NATIVE_INSTALL_WORKS = "1"
BBCLASSEXTEND = "native"
|