[oe-commits] Robert Schuster : bcel 5.2: New recipe (from Jalimo SVN).
git version control
git at git.openembedded.org
Fri Sep 18 12:02:04 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: e48d77d6dca005d16345c004caf1be716db12e3b
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e48d77d6dca005d16345c004caf1be716db12e3b
Author: Robert Schuster <robertschuster at fsfe.org>
Date: Fri Sep 18 13:53:07 2009 +0200
bcel 5.2: New recipe (from Jalimo SVN).
bcel-native 5.2: Dito.
---
recipes/bcel/bcel-native_5.2.bb | 6 ++++++
recipes/bcel/bcel_5.2.bb | 19 +++++++++++++++++++
2 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/recipes/bcel/bcel-native_5.2.bb b/recipes/bcel/bcel-native_5.2.bb
new file mode 100644
index 0000000..478b770
--- /dev/null
+++ b/recipes/bcel/bcel-native_5.2.bb
@@ -0,0 +1,6 @@
+require bcel_${PV}.bb
+
+inherit java-native
+
+DEPENDS = "fastjar-native xerces-j-native regexp-native"
+
diff --git a/recipes/bcel/bcel_5.2.bb b/recipes/bcel/bcel_5.2.bb
new file mode 100644
index 0000000..faf6043
--- /dev/null
+++ b/recipes/bcel/bcel_5.2.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Java Bytecode manipulation library"
+LICENSE = "AL2.0"
+AUTHOR = "Apache Software Foundation"
+
+SRC_URI = "http://archive.apache.org/dist/jakarta/bcel/source/${BP}-src.tar.gz"
+
+inherit java-library
+
+DEPENDS = "fastjar-native xerces-j regexp"
+
+do_compile() {
+ mkdir -p build
+
+ oe_makeclasspath cp -s xercesImpl regexp
+
+ javac -sourcepath src/java -d build -cp $cp `find src/java -name \*.java`
+
+ fastjar -C build -c -f ${JARFILENAME} .
+}
More information about the Openembedded-commits
mailing list