summaryrefslogtreecommitdiff
path: root/recipes/jcraft/jzlib_1.0.7.bb
blob: 4759e90b46dcc60e830e5ce70f068128fe9c90be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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} .
}