libdmx: Add fso-specs to DEPENDS
[openembedded.git] / recipes / xml-commons / xpp3_1.1.3.4.O.bb
blob11b82abfef86264d03918f147c040b8fdf6a6e6b
1 DESCRIPTION = "Streaming pull XML parser for Java (3rd edition)"
2 LICENSE = "BSD-like"
4 HOMEPAGE = "http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1"
6 SRC_URI = "http://www.extreme.indiana.edu/dist/java-repository/xpp3/distributions/${P}_src.tgz"
8 inherit java-library
10 DEPENDS = "fastjar-native virtual/javac-native"
12 PACKAGES = "libxpp3-xpath-java ${JPN}"
14 do_compile() {
15 if [ -d build-oe ]; then
16 rm -rf build-oe
18 mkdir -p build-oe
20 sourcepath="src/java/api:src/java/builder:src/java/dom2_builder:src/java/mxp1_min:src/java/mxp1_standard:src/java/parser_pool:src/java/sax2_driver:src/java/serializer_impl:src/java/util:src/java/wrapper"
21 findpath="${sourcepath//:/ }"
23 javac -sourcepath $sourcepath -d build-oe `find $findpath -name "*.java"`
25 mkdir -p build-oe/META-INF/services
26 cp src/java/mxp1_standard/META-INF/services/org.xml* build-oe/META-INF/services
27 fastjar -C build-oe -c -f ${JARFILENAME} .
29 if [ -d build-xpath ]; then
30 rm -rf build-xpath
32 mkdir -p build-xpath
34 sourcepath="src/java/xpath"
35 findpath="${sourcepath//:/ }"
36 javac -sourcepath $sourcepath -cp build-oe -d build-xpath `find $findpath -name "*.java"`
38 fastjar -C build-xpath -c -f xpp3-xpath-${PV}.jar .
41 do_install_append() {
42 oe_jarinstall xpp3-xpath-${PV}.jar xpp3-xpath.jar
45 do_stage_append() {
46 oe_jarinstall -s xpp3-xpath-${PV}.jar xpp3-xpath.jar
49 FILES_libxpp3-xpath-java = "${datadir}/java/xpp3-xpath*"
52 SRC_URI[md5sum] = "e1b6aeaad1cd06e64568aae1a507d5c6"
53 SRC_URI[sha256sum] = "404c0cd332f54ecf9807dc86d365c17dcffab669994c9dcbbad31fbc4b59f811"