summaryrefslogtreecommitdiff
path: root/recipes/jakarta-libs
diff options
context:
space:
mode:
authorRobert Schuster <robertschuster@fsfe.org>2009-09-18 14:38:58 +0200
committerRobert Schuster <robertschuster@fsfe.org>2009-09-18 14:38:58 +0200
commit4e0f215f2be53b7471d86681765a0c8c1e95d98c (patch)
tree412b7f2ea1b0e072554ae681836958f892c43cbf /recipes/jakarta-libs
parent9ffda150b390d90d6b184421c0ddc2edaf290910 (diff)
avalon-framework-api 4.3: New recipe (from Jalimo SVN).
avalon-framework-api-native 4.3: Dito.
Diffstat (limited to 'recipes/jakarta-libs')
-rw-r--r--recipes/jakarta-libs/avalon-framework-api-native_4.3.bb4
-rw-r--r--recipes/jakarta-libs/avalon-framework-api_4.3.bb28
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} .
+}
+
+