-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile.PL
More file actions
38 lines (32 loc) · 789 Bytes
/
Makefile.PL
File metadata and controls
38 lines (32 loc) · 789 Bytes
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
use strict;
use ExtUtils::MakeMaker;
my %clean = (
'FILES' => '$(DISTVNAME).tar$(SUFFIX)'
);
my $eumm_recent_enough = $ExtUtils::MakeMaker::VERSION >= 6.54;
if (!$eumm_recent_enough) {
*MY::dist_core = sub {
<<'EOF';
dist :
$(NOECHO) $(ECHO) "Sorry, use a newer EUMM!"
EOF
};
}
WriteMakefile(
'NAME' => 'String::Format',
'VERSION_FROM' => 'Format.pm',
'LICENSE' => 'gpl_2',
'clean' => \%clean,
'PREREQ_PM' => {
'Test::More' => 0.00,
},
AUTHOR => ['Slaven Rezic <srezic@cpan.org>', 'darren chamberlain <darren@cpan.org>'],
($eumm_recent_enough
? (META_MERGE => {
resources => {
repository => 'git://github.com/dlc/string--format.git',
} }
)
: ()
),
);