From 368ca5f7d44eb363fb589b7e7178c10cf0d70ea6 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 13 Nov 2014 13:39:47 +0100 Subject: [PATCH] Add Debian stuff --- debian/control | 21 +++++++++++++++++++++ debian/copyright | 7 +++++++ debian/rules | 14 ++++++++++++++ debian/zorba.install | 1 + 4 files changed, 43 insertions(+) create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/zorba.install diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..0633605 --- /dev/null +++ b/debian/control @@ -0,0 +1,21 @@ +Source: zorba +Section: devel +Standards-Version: 3.6.2 +Maintainer: Adam Dickmeiss +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 index 0000000..52f3f62 --- /dev/null +++ b/debian/copyright @@ -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 . + +Copyright (C) 2014 by Index Data Aps. + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..47b0f33 --- /dev/null +++ b/debian/rules @@ -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 index 0000000..053c09e --- /dev/null +++ b/debian/zorba.install @@ -0,0 +1 @@ +debian/tmp/opt/zorba -- 1.7.10.4