/usr/bin/dh_parrot is in parrot-devel 5.9.0-1build1.
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 | #!/usr/bin/perl
=head1 NAME
dh_parrot - generates Parrot dependencies
=cut
use strict;
use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
B<dh_parrot>
=head1 DESCRIPTION
B<dh_parrot> is a debhelper program that is responsible for generating
the B<${parrot:Depends}> substitutions and adding them to substvars files.
=cut
init();
my $parrot = 'parrot';
foreach my $package (@{$dh{DOPACKAGES}}) {
my $version =`dpkg -s $parrot` =~ /^Version:\s*(\S+)-\S+/m;
addsubstvar($package, 'parrot:Depends', $parrot, ">= $1");
addsubstvar($package, 'parrot:Depends', "parrotapi-$1");
}
=head1 SEE ALSO
L<debhelper(7)>
=head1 AUTHOR
Alessandro Ghedini <ghedo@debian.org>
=cut
|