diff options
Diffstat (limited to 'recipes/jakarta-libs')
-rw-r--r-- | recipes/jakarta-libs/avalon-framework-api-native_4.3.bb | 4 | ||||
-rw-r--r-- | recipes/jakarta-libs/avalon-framework-api_4.3.bb | 28 |
2 files changed, 32 insertions, 0 deletions
diff --git a/recipes/jakarta-libs/avalon-framework-api-native_4.3.bb b/recipes/jakarta-libs/avalon-framework-api-native_4.3.bb new file mode 100644 index 0000000000..6733b34ef0 --- /dev/null +++ b/recipes/jakarta-libs/avalon-framework-api-native_4.3.bb @@ -0,0 +1,4 @@ +require avalon-framework-api_${PV}.bb + +inherit java-native + diff --git a/recipes/jakarta-libs/avalon-framework-api_4.3.bb b/recipes/jakarta-libs/avalon-framework-api_4.3.bb new file mode 100644 index 0000000000..74ec2c4456 --- /dev/null +++ b/recipes/jakarta-libs/avalon-framework-api_4.3.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "Common way for components to be created, initialized, configured, started. (API-only)" +LICENSE = "AL2.0" +AUTHOR = "Apache Software Foundation" + +SRC_URI = "\ + http://www.apache.org/dist/excalibur/avalon-framework/source/${BP}-src.tar.gz \ + http://www.apache.org/dist/avalon/logkit/source/logkit-1.2.2-src.tar.gz \ + " + +inherit java-library + +DEPENDS = "fastjar-native" + +do_compile() { + mkdir -p build + + # Allow reaching method definitions from logkit (stupid cyclic dependency). + srcpath=src/java:${WORKDIR}/logkit-1.2.2-dev/src/java + + javac -sourcepath $srcpath -d build `find src/java -name "*.java"` + + # Remove classes that belong to logkit ... + rm -rf ${S}/build/org/apache/log + + fastjar -C build -c -f ${JARFILENAME} . +} + + |