From 37009542edddb1a4cc46fae79c04db61b77b4447 Mon Sep 17 00:00:00 2001 From: Bernd Zeimetz Date: Mon, 1 Jun 2009 13:22:07 +0200 Subject: [PATCH] Build Python dbg modules into rrdtool-dbg. --- debian/control | 9 ++++++--- debian/rules | 7 ++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/debian/control b/debian/control index 7d056cf..4c4fa9c 100644 --- a/debian/control +++ b/debian/control @@ -9,7 +9,8 @@ Build-Depends: debhelper (>= 5.0.38), groff, autotools-dev, quilt, libxml2-dev, tcl-dev, perl (>= 5.8.0), - python-all-dev (>= 2.3.5-10), python-support (>= 0.4), + python-all-dev (>= 2.3.5-10), python-all-dbg (>= 2.3.5-10), + python-support (>= 0.7.1), ruby1.8, ruby1.8-dev, ruby1.9, ruby1.9-dev Homepage: http://oss.oetiker.ch/rrdtool/ Vcs-Browser: http://git.snow-crash.org/?p=pkg-rrdtool.git;a=summary @@ -39,10 +40,12 @@ Package: rrdtool-dbg Architecture: any Priority: extra Section: debug -Depends: rrdtool (= ${binary:Version}), librrd4 (= ${binary:Version}) +Depends: rrdtool (= ${binary:Version}), librrd4 (= ${binary:Version}), + ${python:Depends}, ${misc:Depends} Recommends: librrds-perl (= ${binary:Version}), rrdtool-tcl (= ${binary:Version}), python-rrdtool (= ${binary:Version}), - librrd-ruby1.8 (= ${binary:Version}), librrd-ruby1.9 (= ${binary:Version}) + librrd-ruby1.8 (= ${binary:Version}), librrd-ruby1.9 (= ${binary:Version}), + python-all-dbg Description: Time-series data storage and display system (debugging symbols) The Round Robin Database Tool (RRDtool) is a system to store and display time-series data (e.g. network bandwidth, machine-room temperature, diff --git a/debian/rules b/debian/rules index cce2ae2..209a1ff 100755 --- a/debian/rules +++ b/debian/rules @@ -71,7 +71,7 @@ endif build: build-arch build-indep -build-arch: build-arch-stamp $(PY_VERS:%=build-python%) +build-arch: build-arch-stamp $(PY_VERS:%=build-python%) $(PY_VERS:%=build-python%-dbg) build-arch-stamp: config.status make #Fix library path to tcl bindings @@ -86,7 +86,7 @@ build-arch-stamp: config.status build-python%: build-arch-stamp set -e ;\ cd bindings/python ;\ - BUILDLIBDIR=../../src/.libs LIBDIR=../../src/.libs python$* setup.py build + BUILDLIBDIR=../../src/.libs LIBDIR=../../src/.libs python$* setup.py build ;\ touch $@ build-indep: build-arch-stamp @@ -163,7 +163,8 @@ install-python%: install-common-stamp dh_testroot set -e ;\ cd bindings/python ;\ - python$* setup.py install --root=$(CURDIR)/debian/python-rrdtool + python$* setup.py install --root=$(CURDIR)/debian/python-rrdtool ;\ + python$*-dbg setup.py install --root=$(CURDIR)/debian/rrdtool-dbg binary-indep: build-indep install-indep -- 2.30.2