/usr/bin/dh_vdrplugin_depends is in vdr-dev 2.2.0-5build1.
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 | #! /usr/bin/perl -w
=head1 NAME
dh_vdrplugin_depends - calculates vdr dependencies
=cut
use strict;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
B<dh_vdrplugin_depends> [S<I<debhelper options>>]
=head1 DESCRIPTION
dh_vdrplugin_depends is a debhelper program that is responsible for generating the
${vdr:Depends} substvars substitution for a vdr plugin package.
Each vdr-plugin is required to have a ${vdr:Depends} substvar listed in its
Depends line in debian/control.
=head1 EXAMPLES
dh_vdrplugin_depends is usually called indirectly in a rules file via the dh command.
%:
dh --with vdrplugin $@
It can also be called directly, prior to calling dh_gencontrol.
=head1 CONFORMS TO
Debian policy, version 3.8.1
=cut
init ();
no locale;
open(my $abiversion_file, "</usr/share/vdr-dev/abi-version") or die "Could not read VDR's ABI version dependency";
my @abiversion = <$abiversion_file>;
close($abiversion_file);
verbose_print("Setting vdr:Depends=@abiversion");
foreach my $package (@{$dh{DOPACKAGES}}) {
delsubstvar($package, "vdr:Depends");
addsubstvar($package, "vdr:Depends", @abiversion);
}
=head1 SEE ALSO
L<debhelper(7)>
This program is not a part of debhelper.
=head1 AUTHOR
Tobias Grimm <tobias.grimm@e-tobi.net>
=cut
|