Add Debian stuff
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 13 Nov 2014 12:39:47 +0000 (13:39 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 13 Nov 2014 12:39:47 +0000 (13:39 +0100)
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/zorba.install [new file with mode: 0644]

diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..0633605
--- /dev/null
@@ -0,0 +1,21 @@
+Source: zorba
+Section: devel
+Standards-Version: 3.6.2
+Maintainer: Adam Dickmeiss <adam@indexdata.dk>
+Priority: extra
+Build-Depends: debhelper (>= 7),
+       cmake
+       pkg-config,
+       wget,
+       libxerces-c-dev,
+       libcurl4-gnutls-dev,
+       libedit-dev,
+       libxslt1-dev,
+       bison
+
+Package: zorba
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: runtime and development
+The XQuery Processor developed by the FLWOR Foundation
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..52f3f62
--- /dev/null
@@ -0,0 +1,7 @@
+This is the debian meta-package for Zorba
+ The XQuery Processor developed by the FLWOR Foundation
+
+It was created Index Data <support@indexdata.com>.
+
+Copyright (C) 2014 by Index Data Aps.
+
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..47b0f33
--- /dev/null
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+export DH_VERBOSE=1
+
+%:
+       dh $@ --without python-support
+
+override_dh_auto_configure:
+       wget http://ftp.indexdata.dk/pub/support/zorba-3.0.tar.gz
+       tar zxf zorba-3.0.tar.gz
+       cd build; cmake \
+               -Wno-dev \
+               -D CMAKE_INSTALL_PREFIX=/opt/zorba \
+               -D ZORBA_SUPPRESS_SWIG:BOOL=ON \
+               ..
diff --git a/debian/zorba.install b/debian/zorba.install
new file mode 100644 (file)
index 0000000..053c09e
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/opt/zorba