[Pkg-voip-commits] [resiprocate] 03/03: Build and install pyroute plugin in repro package
Daniel Pocock
pocock at moszumanska.debian.org
Thu Dec 19 20:56:54 UTC 2013
This is an automated email from the git hooks/post-receive script.
pocock pushed a commit to branch master
in repository resiprocate.
commit ed3dd0ad7346abb3ee713f131228a29ebdebad70
Author: Daniel Pocock <daniel at pocock.com.au>
Date: Thu Dec 19 21:37:19 2013 +0100
Build and install pyroute plugin in repro package
---
debian/control | 2 +-
debian/repro.dirs | 1 +
debian/repro.install | 2 ++
debian/rules | 5 ++++-
4 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 153ee1d..476d9c6 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: libs
Priority: extra
Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
Uploaders: Daniel Pocock <daniel at pocock.com.au>
-Build-Depends: debhelper (>= 9.0.0), gperf, libasio-dev (>= 1.2.0), libboost-dev, libc-ares-dev (>= 1.6.0), libdb++-dev, libpopt-dev, libssl-dev (>= 0.9.8), perl, libmysqlclient-dev, libfreeradius-client-dev, libcppunit-dev, autotools-dev, libpcre3-dev, dpkg-dev (>= 1.16.1~), libsipxtapi-dev [linux-any], libsrtp-dev [linux-any], libcajun-dev
+Build-Depends: debhelper (>= 9.0.0), gperf, libasio-dev (>= 1.2.0), libboost-dev, libc-ares-dev (>= 1.6.0), libdb++-dev, libpopt-dev, libssl-dev (>= 0.9.8), perl, libmysqlclient-dev, libfreeradius-client-dev, libcppunit-dev, autotools-dev, libpcre3-dev, dpkg-dev (>= 1.16.1~), libsipxtapi-dev [linux-any], libsrtp-dev [linux-any], libcajun-dev, python-cxx-dev
Homepage: http://www.resiprocate.org/
Standards-Version: 3.9.4
Vcs-Git: git://git.debian.org/pkg-voip/resiprocate.git
diff --git a/debian/repro.dirs b/debian/repro.dirs
index 5795c1b..3aebbf7 100644
--- a/debian/repro.dirs
+++ b/debian/repro.dirs
@@ -1 +1,2 @@
etc/repro/ssl
+usr/share/doc/repro/examples/pyroute
diff --git a/debian/repro.install b/debian/repro.install
index b255837..8018959 100644
--- a/debian/repro.install
+++ b/debian/repro.install
@@ -3,3 +3,5 @@ usr/lib/*/resiprocate/repro/plugins/*.so
usr/sbin/repro
usr/sbin/reprocmd
debian/conf/repro.config etc/repro
+repro/plugins/pyroute/*.py usr/share/doc/repro/examples/pyroute
+repro/plugins/pyroute/README.txt usr/share/doc/repro/examples/pyroute
diff --git a/debian/rules b/debian/rules
index 3e28ac6..0cc5d37 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,6 +32,7 @@ CFG_ARGS := --with-ssl \
--with-freeradius \
--with-repro \
--enable-repro-plugins \
+ --with-python \
--with-c-ares
# on kfreebsd, sipxtapi is not available and recon can't be built
@@ -42,8 +43,10 @@ ifeq ($(DEB_HOST_ARCH_OS),linux)
CFG_ARGS += --with-recon
endif
+PYVERSION=2.7
+
override_dh_auto_configure:
- dh_auto_configure -- $(CFG_ARGS)
+ dh_auto_configure -- $(CFG_ARGS) DEPS_PYTHON_CFLAGS="`/usr/bin/python$(PYVERSION)-config --cflags`" DEPS_PYTHON_LIBS="`/usr/bin/python$(PYVERSION)-config --ldflags`" PYCXX_SRCDIR=/usr/share/python$(PYVERSION)/CXX/Python2
ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
# this is due to a problem with the test case rather than the stack itself
# upstream is investigating
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/resiprocate.git
More information about the Pkg-voip-commits
mailing list