aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/xml-commons/jdom_1.1.bb
blob: 4867e82752be6580f95667a081d57f31a1c77ce8 (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 = "Parses, manipulates, and outputs XML using standard Java constructs"
LICENSE = "BSD"

HOMEPAGE = "http://jdom.org/"

DEPENDS = "fastjar-native jaxen"

SRC_URI = "\
	http://www.jdom.org/dist/binary/archive/jdom-${PV}.tar.gz \
	"

PNBLACKLIST[jdom] ?= "BROKEN: indirectly depends on broken 'xom'"

inherit java-library

do_compile() {
  mkdir -p build

  oe_makeclasspath cp -s jaxen

  javac -sourcepath src/java -cp $cp -d build `find src/java -name "*.java"`

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


SRC_URI[md5sum] = "22745cbaaddb12884ed8ee09083d8fe2"
SRC_URI[sha256sum] = "a13549087141be24ad176b659afdc2c675f1ffa5288ff999a193d6d44a282056"