regexp 1.5: New recipe (from Jalimo SVN).
authorRobert Schuster <robertschuster@fsfe.org>
Fri, 18 Sep 2009 11:54:58 +0000 (13:54 +0200)
committerRobert Schuster <robertschuster@fsfe.org>
Fri, 18 Sep 2009 11:54:58 +0000 (13:54 +0200)
regexp-native 1.5: Dito.

recipes/jakarta-libs/regexp-native_1.5.bb [new file with mode: 0644]
recipes/jakarta-libs/regexp_1.5.bb [new file with mode: 0644]

diff --git a/recipes/jakarta-libs/regexp-native_1.5.bb b/recipes/jakarta-libs/regexp-native_1.5.bb
new file mode 100644 (file)
index 0000000..679da37
--- /dev/null
@@ -0,0 +1,4 @@
+require regexp_${PV}.bb
+
+inherit java-native
+
diff --git a/recipes/jakarta-libs/regexp_1.5.bb b/recipes/jakarta-libs/regexp_1.5.bb
new file mode 100644 (file)
index 0000000..9ae6c35
--- /dev/null
@@ -0,0 +1,19 @@
+DESCRIPTION = "Java Regular Expression package"
+LICENSE = "AL2.0"
+AUTHOR = "Apache Software Foundation"
+
+SRC_URI = "http://archive.apache.org/dist/jakarta/regexp/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} .
+}