summaryrefslogtreecommitdiff
path: root/recipes/bcel/bcel_5.2.bb
blob: faf6043c00158cfb126e45bbee71c50d03638a9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DESCRIPTION = "Java Bytecode manipulation library"
LICENSE = "AL2.0"
AUTHOR = "Apache Software Foundation"

SRC_URI = "http://archive.apache.org/dist/jakarta/bcel/source/${BP}-src.tar.gz"

inherit java-library

DEPENDS = "fastjar-native xerces-j regexp"

do_compile() {
  mkdir -p build

  oe_makeclasspath cp -s xercesImpl regexp

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

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