This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Sync with CPAN version 5.00 of Term::ANSIColor
[perl5.git] / cpan / Unicode-Collate / Makefile.PL
CommitLineData
f58b9ef1
CBW
1require 5.006001;
2use ExtUtils::MakeMaker;
3
4my $clean = {};
5
6if (-f "Collate.xs") {
9d8690d8 7 print "Making header files for XS...\n";
6608d2d5
CBW
8 # Should $mkh be File::Spec->catfile(File::Spec->curdir(), 'mkheader') ?
9 my $mkh = './mkheader';
10 do $mkh or die $@ || "mkheader: $!";
f58b9ef1
CBW
11 $clean = { FILES => 'ucatbl.h' };
12}
13
14WriteMakefile(
946a4102
CBW
15 'AUTHOR' => 'SADAHIRO Tomoyuki <SADAHIRO@cpan.org>',
16 'ABSTRACT' => 'Unicode Collation Algorithm',
17 'INSTALLDIRS' => ($] >= 5.007002 && $] < 5.011) ? 'perl' : 'site',
18 # see perl5110delta, @INC reorganization
19 'LICENSE' => 'perl',
20 'NAME' => 'Unicode::Collate',
21 'VERSION_FROM' => 'Collate.pm', # finds $VERSION
22 'clean' => $clean,
23 'PREREQ_PM' => {
24 Carp => 0,
946a4102 25 File::Spec => 0,
c7df802e
SH
26 XSLoader => 0,
27 constant => 0,
946a4102
CBW
28 strict => 0,
29 warnings => 0,
f58b9ef1
CBW
30 },
31);