summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8f08772)
raw | patch | inline | side by side (parent: 8f08772)
author | Bernd Zeimetz <bzed@debian.org> | |
Sun, 10 Feb 2008 22:30:00 +0000 (23:30 +0100) | ||
committer | Bernd Zeimetz <bzed@debian.org> | |
Sun, 10 Feb 2008 22:30:00 +0000 (23:30 +0100) |
debian/control | patch | blob | history | |
debian/rules | patch | blob | history |
diff --git a/debian/control b/debian/control
index aed5030f7fb4eff2162b59bc8f95ff22cbab48a7..48fbd71f6e65807bb9fbf57c8d3615b06c966b99 100644 (file)
--- a/debian/control
+++ b/debian/control
Package: rrdtool-tcl
Architecture: any
Section: utils
-Depends: ${shlibs:Depends}, ${misc:Depends}, tcl (>= 8.4) | tclsh
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${tcl:Depends}
Description: Time-series data storage and display system (Tcl interface)
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 7117f55039f61accefa418ff7b0ceeed5dd2f855..350f54618e7267f8180a66b8fb1e1d129d475f07 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
if [ -x /usr/bin/python$$py ]; then echo $$py; fi; \
done)
+#tcl version we're building for
+TCL_VERS := $(shell dpkg -s tcl | grep ^Depends | sed 's,.*tcl\([0-9.]*\).*,\1,')
+
+
#let's help configure to figure out our host/build system
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
dh_installchangelogs -a CHANGES
dh_installdocs -A CONTRIBUTORS
dh_installdocs -a
-# dh_installexamples -a
+ echo 'tcl:Depends=tcl$(TCL_VERS) | tclsh' >> debian/rrdtool-tcl.substvars
dh_pysupport -ppython-rrdtool
dh_perl -a
dh_installman -a