"Fossies" - the Fresh Open Source Software Archive

Member "Digest-SHA1-2.13/Makefile.PL" (23 May 2009, 1131 Bytes) of package /linux/privat/old/Digest-SHA1-2.13.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Perl source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 require 5.004;
    2 use ExtUtils::MakeMaker;
    3 
    4 WriteMakefile(
    5     'NAME'     => 'Digest::SHA1',
    6     'VERSION_FROM' => 'SHA1.pm',
    7     'ABSTRACT'     => 'Perl interface to the SHA-1 algorithm',
    8     'AUTHOR'       => 'Gisle Aas <gisle@activestate.com>',
    9     'LICENSE'      => "perl",
   10     'MIN_PERL_VERSION' => 5.004,
   11     'PREREQ_PM'    => {
   12                     'Digest::base' => '1.00',
   13                       },
   14     'META_MERGE'   => {
   15     repository => 'http://github.com/gisle/digest-sha1',
   16     },
   17     'dist'         => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
   18 );
   19 
   20 
   21 BEGIN {
   22     # compatibility with older versions of MakeMaker
   23     my $developer = -f "NOTES.txt";
   24     my %mm_req = (
   25         LICENCE => 6.31,
   26         META_MERGE => 6.45,
   27         META_ADD => 6.45,
   28         MIN_PERL_VERSION => 6.48,
   29     );
   30     undef(*WriteMakefile);
   31     *WriteMakefile = sub {
   32         my %arg = @_;
   33         for (keys %mm_req) {
   34             unless (eval { ExtUtils::MakeMaker->VERSION($mm_req{$_}) }) {
   35                 warn "$_ $@" if $developer;
   36                 delete $arg{$_};
   37             }
   38         }
   39         ExtUtils::MakeMaker::WriteMakefile(%arg);
   40     };
   41 }