blob: a6f91db0420d99f53bfe15c99fd6aa73dbfa75a9 (
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 = "Logging toolkit designed for secure performance orientated logging in Java applications"
LICENSE = "AL2.0"
AUTHOR = "Apache Software Foundation"
SRC_URI = "http://www.apache.org/dist/avalon/logkit/source/${BP}-src.tar.gz"
inherit java-library
S = "${WORKDIR}/${BP}-dev"
DEPENDS = "fastjar-native oro servlet2.3 gnumail gnujaf log4j1.2 avalon-framework-api"
do_compile() {
mkdir -p build
oe_makeclasspath cp -s oro servlet-2.3 activation gnumail log4j-1.2 avalon-framework-api
# Built everything but the JMS and JMX classes (like in Debian)
javac -encoding ISO8859-1 -sourcepath src/java -cp $cp -d build \
`find src/java -name \*.java -and -not \( -iwholename "*jms*" -or -wholename "*test*" \)`
(cd src/java && find . -name "*.properties" -exec cp {} ../../build/{} \;)
fastjar -C build -c -f ${JARFILENAME} .
}
SRC_URI[md5sum] = "996ee20d6b5785ab71f4692f64d10f9c"
SRC_URI[sha256sum] = "2c81edc87571fbd05797da7f65515e089c62cbb735bdbd10f93e29bd3aa3ddb8"
|