From 57e069cde6617f00ca8834a82c6f360af43d5067 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Sat, 12 Nov 2011 20:58:34 +0100 Subject: meta-java: initial commit * taken over mostly stuff from oe classic * cleaned up recipes * added license checksums * bump icedtea6-native to 1.8.11 * use jamvm from git as native --- recipes-core/bcel/bcel_5.2.bb | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 recipes-core/bcel/bcel_5.2.bb (limited to 'recipes-core/bcel') diff --git a/recipes-core/bcel/bcel_5.2.bb b/recipes-core/bcel/bcel_5.2.bb new file mode 100644 index 0000000..c831516 --- /dev/null +++ b/recipes-core/bcel/bcel_5.2.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "Java Bytecode manipulation library" +AUTHOR = "Apache Software Foundation" +LICENSE = "AL2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=44030f19e8bad73725f39d16fd05ff12" + +SRC_URI = "http://archive.apache.org/dist/jakarta/bcel/source/${BP}-src.tar.gz" + +inherit java-library + +DEPENDS = "xerces-j regexp" +DEPENDS_virtclass-native = "xerces-j-native regexp-native" + + +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} . +} + +SRC_URI[md5sum] = "905b7e718e30e7ca726530ecf106e532" +SRC_URI[sha256sum] = "68039d59a38379d7b65ea3fc72276c43ba234776460e14361af35771bcaab295" + +NATIVE_INSTALL_WORKS = "1" +BBCLASSEXTEND = "native" + -- cgit v1.2.3-54-g00ecf