[Pkg-octave-commit] rev 154 - trunk/packages/octaviz/debian
J. Rafael Rodriguez Galvan
pkg-octave-devel@lists.alioth.debian.org
Sat, 05 Mar 2005 17:53:44 +0100
Author: cucharro-guest
Date: 2005-03-05 17:53:44 +0100 (Sat, 05 Mar 2005)
New Revision: 154
Modified:
trunk/packages/octaviz/debian/control
trunk/packages/octaviz/debian/rules
Log:
Applied DOG Gidelines point 4, Centralized installation paths
and octave2.1 dependency
Modified: trunk/packages/octaviz/debian/control
===================================================================
--- trunk/packages/octaviz/debian/control 2005-03-04 22:50:20 UTC (rev 153)
+++ trunk/packages/octaviz/debian/control 2005-03-05 16:53:44 UTC (rev 154)
@@ -2,7 +2,7 @@
Section: math
Priority: optional
Maintainer: Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>
-Build-Depends: debhelper (>= 4.0.0), cmake, libvtk4-dev (>= 4.4.2), octave2.1-headers (>= 2.1.53), lesstif-dev, perl
+Build-Depends: debhelper (>= 4.0.0), cmake, libvtk4-dev (>= 4.4.2), octave2.1-headers (>= 2.1.65), lesstif-dev, perl
Standards-Version: 3.6.1
Package: octaviz
Modified: trunk/packages/octaviz/debian/rules
===================================================================
--- trunk/packages/octaviz/debian/rules 2005-03-04 22:50:20 UTC (rev 153)
+++ trunk/packages/octaviz/debian/rules 2005-03-05 16:53:44 UTC (rev 154)
@@ -9,6 +9,9 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+# Define Makefile variables MDIR and OCTDIR, as sugested in DOG Guidelines.
+include /usr/share/octave/debian/defs.make
+
octver = $(shell octave-config --version)
octver_major = $(shell echo $(octver) | cut -f1 -d.)
octver_minor = $(shell echo $(octver) | cut -f2 -d.)
@@ -82,8 +85,7 @@
dh_compress --exclude=.m
dh_fixperms
dh_installdeb
- echo "octave:Depends=octave2.1 (>= $(octver)), octave2.1 (<< $(octnxtver))" \
- > debian/octaviz.substvars
+ octave-depends
dh_shlibdeps --exclude=site
dh_gencontrol
dh_md5sums