From e48d77d6dca005d16345c004caf1be716db12e3b Mon Sep 17 00:00:00 2001 From: Robert Schuster Date: Fri, 18 Sep 2009 13:53:07 +0200 Subject: 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(+) create mode 100644 recipes/bcel/bcel-native_5.2.bb create mode 100644 recipes/bcel/bcel_5.2.bb (limited to 'recipes') 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} . +} -- cgit v1.2.3