1 DESCRIPTION = "Streaming pull XML parser for java"
4 HOMEPAGE = "http://www.extreme.indiana.edu/xgws/xsoap/xpp/"
6 SRC_URI = "http://www.extreme.indiana.edu/xgws/xsoap/xpp/download/PullParser2/PullParser2.1.10.tgz"
8 S = "${WORKDIR}/PullParser${PV}"
12 DEPENDS = "fastjar-native virtual/javac-native"
15 if [ -d build-oe ]; then
20 sourcepath="src/java/drivers/jaxp11:src/java/drivers/sax2:src/java/impl/factory:src/java/impl/format:src/java/impl/node:src/java/impl/pullparser:src/java/impl/tag:src/java/intf"
22 findpath="${sourcepath//:/ }"
24 javac -sourcepath $sourcepath -d build-oe `find $findpath -name "*.java"`
26 mkdir -p build-oe/META-INF/services
27 cp src/java/drivers/jaxp11/META-INF/services/javax.xml.parsers.SAXParserFactory build-oe/META-INF/services
28 cp src/java/impl/factory/META-INF/services/org.gjt.xpp.XmlPullParserFactory build-oe/META-INF/services
30 fastjar -C build-oe -c -f ${JARFILENAME} .