summaryrefslogtreecommitdiff
path: root/recipes/bcel/bcel_5.2.bb
blob: 748958f465bb22eb457bc53ecd8fdc4d41dd85e6 (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 = "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"
DEPENDS_virtclass-native = "fastjar-native xerces-j-native regexp-native"

PR = "r1"

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

SRC_URI[md5sum] = "905b7e718e30e7ca726530ecf106e532"
SRC_URI[sha256sum] = "68039d59a38379d7b65ea3fc72276c43ba234776460e14361af35771bcaab295"

NATIVE_INSTALL_WORKS = "1"
BBCLASSEXTEND = "native"