Make debian package for mp-xquery filter MPX-6 - part 1
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 1 Dec 2014 14:27:30 +0000 (15:27 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 1 Dec 2014 14:27:30 +0000 (15:27 +0100)
Missing helper scripts to set symlink for metaproxy filters

debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/rules [new file with mode: 0755]
src/Makefile

diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..a04b123
--- /dev/null
@@ -0,0 +1,15 @@
+Source: mp-xquery
+Section: web
+Standards-Version: 3.6.2
+Maintainer: Adam Dickmeiss <adam@indexdata.dk>
+Priority: extra
+Build-Depends: debhelper (>= 7),
+       libmetaproxy6-dev,
+       idzorba
+
+Package: mp-xquery
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: metaproxy module
+ record manipulation module for Metaproxy
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..102c1dd
--- /dev/null
@@ -0,0 +1,6 @@
+This is the debian meta-package for mp-xquery
+
+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..6d332ae
--- /dev/null
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+export DH_VERBOSE=1
+
+%:
+       dh $@ --without python-support \
+               --parallel
+
+override_dh_auto_configure:
+       make \
+               ZORBA=/opt/idzorba \
+               MP_CONFIG=/usr/bin/metaproxy-config
+
index e1b12aa..9bb07c6 100644 (file)
@@ -1,5 +1,7 @@
 ROOT=..
 ZORBA := $(ROOT)/../zorba/zorba-3.0/build/dist
+prefix=/usr
+libdir = ${prefix}/lib
 
 ifeq "${MP_CONFIG}" ""
 MP_CONFIG := $(shell if test -x $(ROOT)/../metaproxy/metaproxy-config; then echo $(ROOT)/../metaproxy/metaproxy-config; else echo metaproxy-config; fi)