#! /usr/bin/perl # # dpkg-shlibdeps # $Id$ use strict; use warnings; our $progname; our $version = "1.4.1.19"; # This line modified by Makefile our $dpkglibdir = "/usr/lib/dpkg"; my $admindir = "/var/lib/dpkg"; use English; use POSIX qw(:errno_h :signal_h); my $shlibsoverride= '/etc/dpkg/shlibs.override'; my $shlibsdefault= '/etc/dpkg/shlibs.default'; my $shlibslocal= 'debian/shlibs.local'; my $shlibsppdir; my $shlibsppext= '.shlibs'; my $varnameprefix= 'shlibs'; my $dependencyfield= 'Depends'; my $varlistfile= 'debian/substvars'; my $packagetype= 'deb'; my @depfields= qw(Suggests Recommends Depends Pre-Depends); my %depstrength; my $i=0; grep($depstrength{$_}= ++$i, @depfields); push(@INC,$dpkglibdir); require 'controllib.pl'; require 'dpkg-gettext.pl'; textdomain("dpkg-dev"); #use strict; #use warnings; sub version { printf _g("Debian %s version %s.\n"), $progname, $version; printf _g(" Copyright (C) 1996 Ian Jackson. Copyright (C) 2000 Wichert Akkerman. Copyright (C) 2006 Frank Lichtenheld."); printf _g(" This is free software; see the GNU General Public Licence version 2 or later for copying conditions. There is NO warranty. "); } sub usage { printf _g( "Usage: %s [