This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
utf8.pm: Slight clarification in pod
[perl5.git] / cpan / MIME-Base64 / Makefile.PL
1 require 5.006;
2 use ExtUtils::MakeMaker;
3
4 my @makefileopts;
5 if ($] >= 5.008 && $] < 5.012) {
6     push @makefileopts, INSTALLDIRS => 'perl';
7 }
8
9 WriteMakefile(
10     NAME         => 'MIME::Base64',
11     VERSION_FROM => 'Base64.pm',
12     @makefileopts,
13
14     ABSTRACT     => 'The RFC 2045 encodings; base64 and quoted-printable',
15     AUTHOR       => 'Gisle Aas <gisle@activestate.com>',
16     LICENSE      => 'perl',
17     MIN_PERL_VERSION => 5.006,
18     META_MERGE   => {
19         resources  => {
20             repository => 'http://github.com/gisle/mime-base64',
21         }
22     },
23 );
24
25 BEGIN {
26     # compatibility with older versions of MakeMaker
27     my $developer = -d ".git";
28     my %mm_req = (
29         LICENCE => 6.31,
30         META_MERGE => 6.45,
31         META_ADD => 6.45,
32         MIN_PERL_VERSION => 6.48,
33     );
34     undef(*WriteMakefile);
35     *WriteMakefile = sub {
36         my %arg = @_;
37         for (keys %mm_req) {
38             unless (eval { ExtUtils::MakeMaker->VERSION($mm_req{$_}) }) {
39                 warn "$_ $@" if $developer;
40                 delete $arg{$_};
41             }
42         }
43         ExtUtils::MakeMaker::WriteMakefile(%arg);
44     };
45 }