aboutsummaryrefslogtreecommitdiff
path: root/recipes/woodstox/woodstox2_2.0.6.bb
blob: 27cf54e5b233bf1ec45e24c900fe13cd0bca6c38 (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
26
27
28
DESCRIPTION = "High-performance XML processor."
LICENSE = "AL2.0 LGPL2.1"

AUTHOR = "Codehaus"
HOMEPAGE = "http://woodstox.codehaus.org"

SRC_URI = "http://woodstox.codehaus.org/2.0.6/wstx-src.tar.gz"

S = "${WORKDIR}"

inherit java-library

DEPENDS = "fastjar-native"

do_compile() {
  mkdir -p build/META-INF/services

  javac -nowarn -sourcepath src/java -d build \
		`find src/java/org -name "*.java"` \
		`find src/java/com -name "*.java"`

  cp -R src/resources/* build/META-INF/services

  fastjar -C build -c -f ${JARFILENAME} .
}

SRC_URI[md5sum] = "3fc8e914d13316aa254b883a99fd2b85"
SRC_URI[sha256sum] = "e7ab2018865334a1b9b04161235192c2fdc7387baa422b576722db2011f75157"