summaryrefslogtreecommitdiff
path: root/recipes/hsqldb/hsqldb_1.8.0.10.bb
diff options
context:
space:
mode:
authorRobert Schuster <robertschuster@fsfe.org>2009-09-18 14:28:17 +0200
committerRobert Schuster <robertschuster@fsfe.org>2009-09-18 14:28:17 +0200
commitf807b0604d74e14b46eb9b36ba317dd411639be5 (patch)
treef42a411d9759677303d6540f22deaca0aac0caa9 /recipes/hsqldb/hsqldb_1.8.0.10.bb
parent16d63d991053d6499aaf9cd3e89efb979d5bf2ff (diff)
hsqldb 1.8.0.10: New recipe (from Jalimo SVN).
Diffstat (limited to 'recipes/hsqldb/hsqldb_1.8.0.10.bb')
-rw-r--r--recipes/hsqldb/hsqldb_1.8.0.10.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes/hsqldb/hsqldb_1.8.0.10.bb b/recipes/hsqldb/hsqldb_1.8.0.10.bb
new file mode 100644
index 0000000000..ab3b1cd7e6
--- /dev/null
+++ b/recipes/hsqldb/hsqldb_1.8.0.10.bb
@@ -0,0 +1,36 @@
+DESCRIPTION = "Lightweight 100% Java SQL Database Engine"
+# BSD-like
+LICENSE = "HypersonicSQL"
+
+AUTHOR = "HSQLDB Development Group"
+HOMEPAGE = "http://hsqldb.org"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/hsqldb/hsqldb_1_8_0_10.zip"
+
+S = "${WORKDIR}/${PN}"
+
+inherit java-library
+
+DEPENDS = "fastjar-native servlet2.4"
+
+do_compile() {
+ # Build instructions according to build/buildJDK14.bat
+ mkdir -p classes
+
+ oe_makeclasspath cp -s servlet-api-2.4
+
+ javac -sourcepath src -cp $cp -d build `find src -name "*.java" -and -not -wholename "*test*"`
+
+ mkdir -p classes/org/hsqldb/util
+ mkdir -p classes/org/hsqldb/util/sqltool
+ mkdir -p classes/org/hsqldb/resources
+
+ cp src/org/hsqldb/util/*.gif classes/org/hsqldb/util/
+ cp src/org/hsqldb/util/*.png classes/org/hsqldb/util/
+ cp src/org/hsqldb/util/*.properties classes/org/hsqldb/util/
+ cp src/org/hsqldb/util/sqltool/*.text classes/org/hsqldb/util/sqltool/
+
+ cp src/org/hsqldb/resources/*.properties classes/org/hsqldb/resources
+
+ fastjar -C classes -c -f ${JARFILENAME} .
+}