summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schuster <thebohemian@gmx.net>2008-03-04 16:47:17 +0000
committerRobert Schuster <thebohemian@gmx.net>2008-03-04 16:47:17 +0000
commit3c0ab1b619876a007b71a78b2ad8eb1ed3724e80 (patch)
tree82c0dddb5bec4b15b57b57a22c27b05f07a62f7a
parent25fe9599d951a3de39a2e8983810f2c6a40d74b0 (diff)
woodstox: New recipe.
-rw-r--r--packages/woodstox/.mtn2git_empty0
-rw-r--r--packages/woodstox/woodstox2_2.0.6.bb25
2 files changed, 25 insertions, 0 deletions
diff --git a/packages/woodstox/.mtn2git_empty b/packages/woodstox/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/woodstox/.mtn2git_empty
diff --git a/packages/woodstox/woodstox2_2.0.6.bb b/packages/woodstox/woodstox2_2.0.6.bb
new file mode 100644
index 0000000000..390c4ff3f0
--- /dev/null
+++ b/packages/woodstox/woodstox2_2.0.6.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "High-performance XML processor."
+LICENSE = "AL2.0 LGPL2.1"
+
+AUTHOR = "Codehaus"
+HOMEPAGE = "http://woodstox.codehaus.org"
+
+SRC_URI = "http://woodstox.codehaus.org/2.0.6/wstx-src.tar.gz"
+
+S = "${WORKDIR}"
+
+inherit java-library
+
+DEPENDS = "fastjar-native"
+
+do_compile() {
+ mkdir -p build/META-INF/services
+
+ javac -nowarn -sourcepath src/java -d build \
+ `find src/java/org -name "*.java"` \
+ `find src/java/com -name "*.java"`
+
+ cp -r src/resources/* build/META-INF/services
+
+ fastjar -C build -c -f ${JARFILENAME} .
+}