summaryrefslogtreecommitdiff
path: root/recipes/jakarta-libs
diff options
context:
space:
mode:
authorRobert Schuster <robertschuster@fsfe.org>2009-09-18 14:38:34 +0200
committerRobert Schuster <robertschuster@fsfe.org>2009-09-18 14:38:34 +0200
commit9ffda150b390d90d6b184421c0ddc2edaf290910 (patch)
tree5747aab52913c15fe021664c5335b3fa4e770acb /recipes/jakarta-libs
parent41f689d2e82499b2cabd8808726335f80e38522f (diff)
oro 2.0.8: New recipe (from Jalimo SVN).
oro-native 2.0.8: Dito.
Diffstat (limited to 'recipes/jakarta-libs')
-rw-r--r--recipes/jakarta-libs/oro-native_2.0.8.bb4
-rw-r--r--recipes/jakarta-libs/oro_2.0.8.bb19
2 files changed, 23 insertions, 0 deletions
diff --git a/recipes/jakarta-libs/oro-native_2.0.8.bb b/recipes/jakarta-libs/oro-native_2.0.8.bb
new file mode 100644
index 0000000000..2630ed9b0f
--- /dev/null
+++ b/recipes/jakarta-libs/oro-native_2.0.8.bb
@@ -0,0 +1,4 @@
+require oro_${PV}.bb
+
+inherit java-native
+
diff --git a/recipes/jakarta-libs/oro_2.0.8.bb b/recipes/jakarta-libs/oro_2.0.8.bb
new file mode 100644
index 0000000000..47ee9f29e0
--- /dev/null
+++ b/recipes/jakarta-libs/oro_2.0.8.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Perl5-compatible regular expressions library for Java"
+LICENSE = "AL2.0"
+AUTHOR = "Apache Software Foundation"
+
+SRC_URI = "http://www.apache.org/dist/jakarta/oro/source/jakarta-${BP}.tar.gz"
+
+inherit java-library
+
+S = "${WORKDIR}/jakarta-${BP}"
+
+DEPENDS = "fastjar-native"
+
+do_compile() {
+ mkdir -p build
+
+ javac -sourcepath src/java -d build `find src/java -name \*.java`
+
+ fastjar -C build -c -f ${JARFILENAME} org
+}