File: Makefile.PL

package info (click to toggle)
liblocale-codes-perl 3.67-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,664 kB
  • sloc: perl: 135,966; sh: 22; makefile: 2
file content (195 lines) | stat: -rw-r--r-- 6,378 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
######################################################################
# Makefile.PL for Locale::Codes
######################################################################

use strict;
use warnings;
use 5.006;
use ExtUtils::MakeMaker 6.30;

my %IsWin32 = map { $_ => 1 } qw( MSWin32 NetWare symbian );
my $IsWin32 = 1   if ($IsWin32{ $^O });
my $Pvers   = $];
my $ConvVers= $ExtUtils::MakeMaker::VERSION;

my %module_prereq = (
   'Carp'                     => '0',
   'if'                       => '0',
   'utf8'                     => '0',
);

my %script_prereq = (
);

my %test_prereq = (
   'Test::Inter'              => '1.09',
   'Test::More'               => '0',
);

my %config_prereq = (
   'ExtUtils::MakeMaker'      => '6.30',
);

%module_prereq = (%module_prereq,%script_prereq);
my $EU_MM_V    = $ExtUtils::MakeMaker::VERSION;
$EU_MM_V       =~ s/_//g;
if ($EU_MM_V < 6.64) {
   %config_prereq = (%config_prereq,%test_prereq);
}

WriteMakefile(
   NAME             => "Locale::Codes",
   VERSION          => "3.67",
   ABSTRACT         => "a distribution of modules to handle locale codes",
   LICENSE          => "perl",
   ($EU_MM_V >= 6.48
    ? (MIN_PERL_VERSION => "5.006")
    : ()),
   AUTHOR           => "Sullivan Beck (sbeck\@cpan.org)",
   "dist"           => {COMPRESS=>"gzip",SUFFIX=>"gz"},
   PL_FILES         => {},
   PREREQ_PM        => \%module_prereq,
   ($EU_MM_V >= 6.52
    ? (CONFIGURE_REQUIRES => \%config_prereq)
    : ()),
   ($EU_MM_V >= 6.64
    ? (TEST_REQUIRES   => \%test_prereq)
    : ()),
   ($EU_MM_V > 6.45
    ? (META_ADD => {
          provides     => {
             'Locale::Codes' => {
                file    => 'lib/Locale/Codes.pm',
                version => '3.67',
             },
             'Locale::Codes::Constants' => {
                file    => 'lib/Locale/Codes/Constants.pm',
                version => '3.67',
             },
             'Locale::Codes::Country' => {
                file    => 'lib/Locale/Codes/Country.pm',
                version => '3.67',
             },
             'Locale::Codes::Country_Codes' => {
                file    => 'lib/Locale/Codes/Country_Codes.pm',
                version => '3.67',
             },
             'Locale::Codes::Country_Retired' => {
                file    => 'lib/Locale/Codes/Country_Retired.pm',
                version => '3.67',
             },
             'Locale::Codes::Currency' => {
                file    => 'lib/Locale/Codes/Currency.pm',
                version => '3.67',
             },
             'Locale::Codes::Currency_Codes' => {
                file    => 'lib/Locale/Codes/Currency_Codes.pm',
                version => '3.67',
             },
             'Locale::Codes::Currency_Retired' => {
                file    => 'lib/Locale/Codes/Currency_Retired.pm',
                version => '3.67',
             },
             'Locale::Codes::LangExt' => {
                file    => 'lib/Locale/Codes/LangExt.pm',
                version => '3.67',
             },
             'Locale::Codes::LangExt_Codes' => {
                file    => 'lib/Locale/Codes/LangExt_Codes.pm',
                version => '3.67',
             },
             'Locale::Codes::LangExt_Retired' => {
                file    => 'lib/Locale/Codes/LangExt_Retired.pm',
                version => '3.67',
             },
             'Locale::Codes::LangFam' => {
                file    => 'lib/Locale/Codes/LangFam.pm',
                version => '3.67',
             },
             'Locale::Codes::LangFam_Codes' => {
                file    => 'lib/Locale/Codes/LangFam_Codes.pm',
                version => '3.67',
             },
             'Locale::Codes::LangFam_Retired' => {
                file    => 'lib/Locale/Codes/LangFam_Retired.pm',
                version => '3.67',
             },
             'Locale::Codes::LangVar' => {
                file    => 'lib/Locale/Codes/LangVar.pm',
                version => '3.67',
             },
             'Locale::Codes::LangVar_Codes' => {
                file    => 'lib/Locale/Codes/LangVar_Codes.pm',
                version => '3.67',
             },
             'Locale::Codes::LangVar_Retired' => {
                file    => 'lib/Locale/Codes/LangVar_Retired.pm',
                version => '3.67',
             },
             'Locale::Codes::Language' => {
                file    => 'lib/Locale/Codes/Language.pm',
                version => '3.67',
             },
             'Locale::Codes::Language_Codes' => {
                file    => 'lib/Locale/Codes/Language_Codes.pm',
                version => '3.67',
             },
             'Locale::Codes::Language_Retired' => {
                file    => 'lib/Locale/Codes/Language_Retired.pm',
                version => '3.67',
             },
             'Locale::Codes::Script' => {
                file    => 'lib/Locale/Codes/Script.pm',
                version => '3.67',
             },
             'Locale::Codes::Script_Codes' => {
                file    => 'lib/Locale/Codes/Script_Codes.pm',
                version => '3.67',
             },
             'Locale::Codes::Script_Retired' => {
                file    => 'lib/Locale/Codes/Script_Retired.pm',
                version => '3.67',
             },
             'Locale::Country' => {
                file    => 'lib/Locale/Country.pm',
                version => '3.67',
             },
             'Locale::Currency' => {
                file    => 'lib/Locale/Currency.pm',
                version => '3.67',
             },
             'Locale::Language' => {
                file    => 'lib/Locale/Language.pm',
                version => '3.67',
             },
             'Locale::Script' => {
                file    => 'lib/Locale/Script.pm',
                version => '3.67',
             },

          },
       }
      )
    : ()),

   ($EU_MM_V > 6.46
    ? (META_MERGE => {
          'meta-spec'  => {
             version   => 2,
          },
          resources    => {
             repository => {
                type => 'git',
                web  => 'https://github.com/SBECK-github/Locale-Codes',
                url  => 'git://github.com/SBECK-github/Locale-Codes.git',
             },
          },
       }
      )
    : ()),



   INSTALLDIRS      => (($] >= 5.007003 && $] < 5.012) ? 'perl' : 'site'),

);