[oe-commits] Robert Schuster : poi 3.0: New recipe (from Jalimo SVN).

git version control git at git.openembedded.org
Fri Sep 18 14:44:23 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: f6c552dcea001e78ec461bfa488508404fcbcdac
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f6c552dcea001e78ec461bfa488508404fcbcdac

Author: Robert Schuster <robertschuster at fsfe.org>
Date:   Fri Sep 18 16:43:51 2009 +0200

poi 3.0: New recipe (from Jalimo SVN).

---

 recipes/jakarta-libs/poi_3.0.bb |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/recipes/jakarta-libs/poi_3.0.bb b/recipes/jakarta-libs/poi_3.0.bb
new file mode 100644
index 0000000..9538861
--- /dev/null
+++ b/recipes/jakarta-libs/poi_3.0.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "Java library for manipulating various file formats based upon Microsoft's OLE 2 Compound Document"
+LICENSE = "AL2.0"
+AUTHOR = "Apache Software Foundation"
+
+SRC_URI = "http://www.apache.org/dist/jakarta/poi/release/src/${BPN}-src-${PV}-FINAL-20070503.tar.gz"
+
+S = "${WORKDIR}/${BPN}-3.0-rc4"
+
+inherit java-library
+
+DEPENDS = "fastjar-native commons-collections3 commons-logging commons-lang commons-beanutils log4j1.2 xalan-j"
+
+do_compile() {
+  mkdir -p build
+
+  oe_makeclasspath cp -s commons-collections3 commons-logging commons-lang commons-beanutils log4j-1.2 xalan2
+
+  javac -sourcepath src/java -cp $cp -d build \
+    `find src/java -name \*.java`
+
+  (cd src/java && find . -name "*.properties" -exec cp {} ../../build/{} \;)
+
+  fastjar -C build -c -f ${JARFILENAME} .
+}





More information about the Openembedded-commits mailing list