[oe-commits] Robert Schuster : bsf 2.4.0: New recipe (from Jalimo SVN).
git version control
git at git.openembedded.org
Fri Sep 18 14:39:13 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 61af8065e555f57f697689f5092209b0f8f5b51a
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=61af8065e555f57f697689f5092209b0f8f5b51a
Author: Robert Schuster <robertschuster at fsfe.org>
Date: Fri Sep 18 14:45:02 2009 +0200
bsf 2.4.0: New recipe (from Jalimo SVN).
bsf-native 2.4.0: Dito.
---
recipes/jakarta-libs/bsf-native_2.4.0.bb | 8 ++++++++
recipes/jakarta-libs/bsf_2.4.0.bb | 24 ++++++++++++++++++++++++
2 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/recipes/jakarta-libs/bsf-native_2.4.0.bb b/recipes/jakarta-libs/bsf-native_2.4.0.bb
new file mode 100644
index 0000000..9b3c1dd
--- /dev/null
+++ b/recipes/jakarta-libs/bsf-native_2.4.0.bb
@@ -0,0 +1,8 @@
+require bsf_${PV}.bb
+
+S = "${WORKDIR}/bsf-${PV}"
+
+inherit java-native
+
+DEPENDS = "fastjar-native jacl-native commons-logging-native rhino-native xalan-j-native bcel-native"
+
diff --git a/recipes/jakarta-libs/bsf_2.4.0.bb b/recipes/jakarta-libs/bsf_2.4.0.bb
new file mode 100644
index 0000000..e853ea1
--- /dev/null
+++ b/recipes/jakarta-libs/bsf_2.4.0.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "Bean Scripting Framework package"
+LICENSES = "AL2.0"
+AUTHOR = "Apache Software Foundation"
+
+SRC_URI = "http://archive.apache.org/dist/jakarta/bsf/source/bsf-src-${PV}.tar.gz"
+
+inherit java-library
+
+DEPENDS = "fastjar-native jacl commons-logging rhino xalan-j bcel"
+
+do_compile() {
+ mkdir -p build
+
+ oe_makeclasspath cp -s commons-logging jacl rhino bcel xalan2
+
+ # Remove netrexx and jython support
+ rm -Rf src/org/apache/bsf/engines/netrexx
+ rm -Rf src/org/apache/bsf/engines/jython
+
+ javac -sourcepath src -cp $cp -d build `find src -name "*.java"`
+
+ fastjar -C build -c -f ${JARFILENAME} .
+}
+
More information about the Openembedded-commits
mailing list