From 700848d50e4704133fbc4099aa30afa28f6ebfbf Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 1 Dec 2014 15:27:30 +0100 Subject: [PATCH] Make debian package for mp-xquery filter MPX-6 - part 1 Missing helper scripts to set symlink for metaproxy filters --- debian/compat | 1 + debian/control | 15 +++++++++++++++ debian/copyright | 6 ++++++ debian/rules | 12 ++++++++++++ src/Makefile | 2 ++ 5 files changed, 36 insertions(+) create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..a04b123 --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: mp-xquery +Section: web +Standards-Version: 3.6.2 +Maintainer: Adam Dickmeiss +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 index 0000000..102c1dd --- /dev/null +++ b/debian/copyright @@ -0,0 +1,6 @@ +This is the debian meta-package for mp-xquery + +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..6d332ae --- /dev/null +++ b/debian/rules @@ -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 + diff --git a/src/Makefile b/src/Makefile index e1b12aa..9bb07c6 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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) -- 1.7.10.4