-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile.PL
More file actions
96 lines (82 loc) · 2.38 KB
/
Copy pathMakefile.PL
File metadata and controls
96 lines (82 loc) · 2.38 KB
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
######################################################################
# Makefile.PL for Shell::Cmd
######################################################################
use strict;
use warnings;
use 5.008;
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 = (
'Capture::Tiny' => '0',
'Cwd' => '0',
'IO::File' => '0',
'Net::OpenSSH' => '0',
'Parallel::ForkManager' => '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 => "Shell::Cmd",
VERSION => "3.06",
ABSTRACT => "run shell commands with enhanced support",
LICENSE => "perl",
($EU_MM_V >= 6.48
? (MIN_PERL_VERSION => "5.008")
: ()),
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 => {
'Shell::Cmd' => {
file => 'lib/Shell/Cmd.pm',
version => '3.06',
},
},
}
)
: ()),
($EU_MM_V > 6.46
? (META_MERGE => {
'meta-spec' => {
version => 2,
},
resources => {
bugtracker => {
web => 'https://github.com/SBECK-github/Shell-Cmd/issues',
},
homepage => 'https://github.com/SBECK-github/Shell-Cmd',
repository => {
type => 'git',
web => 'https://github.com/SBECK-github/Shell-Cmd',
url => 'git://github.com/SBECK-github/Shell-Cmd.git',
},
},
}
)
: ()),
);