blob: ffaa8c69368193b4c15a386b056501b2732dc78e (
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
29
30
31
32
33
34
|
DESCRIPTION = "Bean Scripting Framework package"
LICENSES = "AL2.0"
AUTHOR = "Apache Software Foundation"
SRC_URI = "http://archive.apache.org/dist/jakarta/bsf/source/bsf-src-${PV}.tar.gz"
inherit java-library
DEPENDS = "fastjar-native jacl commons-logging rhino xalan-j bcel"
DEPENDS_virtclass-native = "fastjar-native jacl-native commons-logging-native rhino-native xalan-j-native bcel-native"
PR = "r1"
do_compile() {
mkdir -p build
oe_makeclasspath cp -s commons-logging jacl rhino bcel xalan2
# Remove netrexx and jython support
rm -Rf src/org/apache/bsf/engines/netrexx
rm -Rf src/org/apache/bsf/engines/jython
javac -sourcepath src -cp $cp -d build `find src -name "*.java"`
fastjar -C build -c -f ${JARFILENAME} .
}
SRC_URI[md5sum] = "7e58b2a009c0f70ab36bbef420b25c07"
SRC_URI[sha256sum] = "5ab58cf5738c144f4d85a4a442c2f33be2c4c502dca6e29e0c570c2a51ae6ae9"
NATIVE_INSTALL_WORKS = "1"
BBCLASSEXTEND = "native"
|