summaryrefslogtreecommitdiff
path: root/recipes/xml-commons/jdom_1.1.bb
blob: e4be922b9ece433fd691a0a8b3156c62f355428f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 \
	"

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} .
}