This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Upgrade Parse::CPAN::Meta from version 1.4417 to 1.4421
[perl5.git] / cpan / Unicode-Normalize / Makefile.PL
1 require 5.006001;
2 use ExtUtils::MakeMaker;
3
4 my $clean = {};
5
6 my $mm_ver = ExtUtils::MakeMaker->VERSION;
7
8 if (-f "Normalize.xs") {
9     print STDERR "Making header files for XS...\n";
10
11     do 'mkheader' or die $@ || "mkheader: $!";
12
13     $clean = { FILES => 'unfcan.h unfcmb.h unfcmp.h unfcpt.h unfexc.h' };
14 }
15
16 WriteMakefile(
17     ($mm_ver < 6.58)
18     ? ('AUTHOR' => 'SADAHIRO Tomoyuki <SADAHIRO@cpan.org>, Karl Williamson <khw@cpan.org>')
19     : ('AUTHOR' =>         [
20                            'SADAHIRO Tomoyuki <SADAHIRO@cpan.org>',
21                            'Karl Williamson <khw@cpan.org>',
22                            ]),
23     'ABSTRACT'          => 'Unicode Normalization Forms',
24     'INSTALLDIRS'       => ($] >= 5.007002 && $] < 5.011) ? 'perl' : 'site',
25                             # see perl5110delta, @INC reorganization
26     'LICENSE'           => 'perl',
27     'NAME'              => 'Unicode::Normalize',
28     'VERSION_FROM'      => 'Normalize.pm', # finds $VERSION
29     'clean'             => $clean,
30     'depend'            => { 'Normalize.o' => '$(H_FILES)' },
31     'PREREQ_PM'         => {
32         Carp            => 0,
33         constant        => 0,
34         DynaLoader      => 0,
35         Exporter        => 0,
36         File::Spec      => 0,
37         strict          => 0,
38         warnings        => 0,
39         SelectSaver     => 0,
40     },
41     ($mm_ver < 6.48 ? () : MIN_PERL_VERSION => 5.6.0),
42     ($mm_ver < 6.46 ? () : (META_MERGE => {
43         'meta-spec' => { version => 2 },
44         resources       => {
45             repository    => {
46                 url  => 'https://github.com/khwilliamson/Unicode-Normalize.git',
47                 web  => 'https://github.com/khwilliamson/Unicode-Normalize',
48                 type => 'git',
49             },
50             bugtracker    => {
51                 web  => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Unicode-Normalize',
52             },
53         },
54     })),
55 );