blob: c33863047e4f0b63dbede0264bc80fb73c32c320 (
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
|
DESCRIPTION = "Java XML parser and transformer APIs (DOM, SAX, JAXP, TrAX)"
LICENSES = "AL2.0 W3C Public Domain"
AUTHOR = "Apache Software Foundation"
SRC_URI = "http://archive.apache.org/dist/xml/commons/source/xml-commons-external-${PV}-src.tar.gz"
inherit java-library
S = "${WORKDIR}"
DEPENDS = "fastjar-native"
JARFILENAME = "jaxp-1.3.jar"
ALTJARFILENAMES = "xml-apis.jar"
do_compile() {
mkdir -p build/license
javac -d build `find javax org -name \*.java`
cp LICENSE.*.txt README.*.txt build/license
fastjar -c -m manifest.commons -f ${JARFILENAME} -C build .
}
SRC_URI[md5sum] = "5536f87a816c766f4999ed60593a8701"
SRC_URI[sha256sum] = "8e8a412aeb95644eaf14ec1a5cfd04833e38cac4a01b83d73d7de2368a35a597"
|