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