diff options
author | Robert Schuster <robertschuster@fsfe.org> | 2009-09-18 13:53:07 +0200 |
---|---|---|
committer | Robert Schuster <robertschuster@fsfe.org> | 2009-09-18 13:53:07 +0200 |
commit | e48d77d6dca005d16345c004caf1be716db12e3b (patch) | |
tree | d57719d1e0458a58a9c1da3007e3395d2199640c /recipes/bcel | |
parent | f380fe99daeec7a31b9f094d06c54eaa3c5770bd (diff) |
bcel 5.2: New recipe (from Jalimo SVN).
bcel-native 5.2: Dito.
Diffstat (limited to 'recipes/bcel')
-rw-r--r-- | recipes/bcel/bcel-native_5.2.bb | 6 | ||||
-rw-r--r-- | 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 0000000000..478b770bff --- /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 0000000000..faf6043c00 --- /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} . +} |