/usr/bin/octave-depends-3.2.4 is in octave3.2-headers 3.2.4-12.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | #!/usr/bin/perl -w
# Copyright (c) 2005 Rafael Laboissiere <rafael@debian.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
=head1 NAME
octave-depends - calculates Octave dependencies
=cut
use strict;
use File::Find;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
B<octave-depends> [S<I<debhelper options>>]
=head1 DESCRIPTION
octave-depends is a debhelper-like program that is responsible for
generating the ${octave:Depends} substitutions and adding them to
substvars files. Variables ${octave<major>:Depends} are also
available, where <major> is currently either "-2-1" or "-2-9" (N.B.:
periods are not allowed in substvar names).
If you use this program, your package must build-depend on octave2.1-headers
(>= 2.1.73-10) or octave2.9-headers (>= 2.9.7-2).
=cut
init ();
my $octcfg = '/usr/bin/octave-config-3.2.4';
my $octpkg = 'octave3.2';
my $octpfx = 'octave-3.2';
$octpfx =~ s/\./-/;
# The current Octave version
my $octver = `$octcfg --version 2>&1`
or die "Command $octcfg not found";
chomp $octver;
foreach my $package (@{$dh{DOPACKAGES}}) {
delsubstvar($package, "octave:Depends");
addsubstvar($package, "octave:Depends", $octpkg, ">= $octver");
delsubstvar($package, "$octpfx:Depends");
addsubstvar($package, "$octpfx:Depends", $octpkg, ">= $octver");
}
=head1 SEE ALSO
L<debhelper(7)>
This program is not part of debhelper.
=head1 AUTHOR
Rafael Laboissiere <rafael@debian.org>
Most ideas borrowed from dh_python by Josselin Mouette <joss@debian.org>,
who apparently took ideas from Brendan O'Dea <bod@debian.org>.
=cut
|