summaryrefslogtreecommitdiffstats
path: root/extra/hsqldb-java
diff options
context:
space:
mode:
Diffstat (limited to 'extra/hsqldb-java')
-rw-r--r--extra/hsqldb-java/.footprint7
-rw-r--r--extra/hsqldb-java/.md5sum1
-rw-r--r--extra/hsqldb-java/Pkgfile27
3 files changed, 35 insertions, 0 deletions
diff --git a/extra/hsqldb-java/.footprint b/extra/hsqldb-java/.footprint
new file mode 100644
index 000000000..414e042f4
--- /dev/null
+++ b/extra/hsqldb-java/.footprint
@@ -0,0 +1,7 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/java/
+-rw-r--r-- root/root usr/share/java/hsqldb.jar
+drwxr-xr-x root/root usr/share/licenses/
+drwxr-xr-x root/root usr/share/licenses/hsqldb-java/
+-rw-r--r-- root/root usr/share/licenses/hsqldb-java/hsqldb_lic.txt
diff --git a/extra/hsqldb-java/.md5sum b/extra/hsqldb-java/.md5sum
new file mode 100644
index 000000000..f21908bce
--- /dev/null
+++ b/extra/hsqldb-java/.md5sum
@@ -0,0 +1 @@
+4114ba2e6aba58e6bfd3fa283d7dbc37 hsqldb_1_8_1_1.zip
diff --git a/extra/hsqldb-java/Pkgfile b/extra/hsqldb-java/Pkgfile
new file mode 100644
index 000000000..25ff508cd
--- /dev/null
+++ b/extra/hsqldb-java/Pkgfile
@@ -0,0 +1,27 @@
+# Description: HSQLDB Java libraries
+# URL: http://hsqldb.org/
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on: jdk, unzip, ant
+
+name=hsqldb-java
+version=1.8.1.1
+release=1
+source=(http://downloads.sourceforge.net/sourceforge/hsqldb/hsqldb_${version//./_}.zip )
+
+build() {
+# [ -z "${JAVA_HOME}" ] && . /etc/profile.d/openjdk6.sh
+# [ -z "${ANT_HOME}" ] && . /etc/profile.d/apache-ant.sh
+
+ cd ../src/hsqldb/build
+
+ ant jar
+
+ mkdir -p $PKG/usr/share/java
+ install -m644 $SRC/hsqldb/lib/hsqldb.jar $PKG/usr/share/java/
+
+ mkdir -p $PKG/usr/share/licenses/$name
+ install -m644 $SRC/hsqldb/doc/hsqldb_lic.txt $PKG/usr/share/licenses/$name/
+
+}
+