This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Upgrade Time::Piece from 1.21 to 1.22
[perl5.git] / cpan / Unicode-Normalize / Makefile.PL
1 require 5.006001;
2 use ExtUtils::MakeMaker;
3
4 my $clean = {};
5
6 if (-f "Normalize.xs") {
7     print STDERR "Making header files for XS...\n";
8
9     do 'mkheader' or die $@ || "mkheader: $!";
10
11     $clean = { FILES => 'unfcan.h unfcmb.h unfcmp.h unfcpt.h unfexc.h' };
12 }
13
14 WriteMakefile(
15     'AUTHOR'            => 'SADAHIRO Tomoyuki <SADAHIRO@cpan.org>',
16     'ABSTRACT'          => 'Unicode Normalization Forms',
17     'INSTALLDIRS'       => ($] >= 5.007002 && $] < 5.011) ? 'perl' : 'site',
18                             # see perl5110delta, @INC reorganization
19     'LICENSE'           => 'perl',
20     'NAME'              => 'Unicode::Normalize',
21     'VERSION_FROM'      => 'Normalize.pm', # finds $VERSION
22     'clean'             => $clean,
23     'PREREQ_PM'         => {
24         bytes           => 0,
25         Carp            => 0,
26         constant        => 0,
27         DynaLoader      => 0,
28         Exporter        => 0,
29         File::Copy      => 0,
30         File::Spec      => 0,
31         strict          => 0,
32         warnings        => 0,
33     },
34 );