-
Notifications
You must be signed in to change notification settings - Fork 60
/
Makefile.PL
88 lines (77 loc) · 2.54 KB
/
Makefile.PL
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
# This -*- perl -*- script writes the Makefile for Pod::Simple
#
use strict;
use ExtUtils::MakeMaker;
my %WriteMakefileArgs = (
NAME => 'Pod::Simple',
VERSION_FROM => 'lib/Pod/Simple.pm',
ABSTRACT_FROM => 'lib/Pod/Simple.pod',
TEST_REQUIRES => {
'Test::More' => '0.88'
},
PREREQ_PM => {
'Carp' => 0,
'Config' => 0,
'Cwd' => 0,
'File::Basename' => 0,
'File::Find' => 0,
'File::Spec' => 0,
'Pod::Escapes' => '1.04',
'Symbol' => 0,
'Text::Wrap' => '98.112902',
'if' => 0,
'integer' => 0,
'overload' => 0,
'strict' => 0,
'warnings' => 0,
},
INSTALLDIRS => $] >= 5.009003 && $] <= 5.011000 ? 'perl' : 'site',
LICENSE => 'perl',
AUTHOR => 'Allison Randal <[email protected]>',
META_MERGE => {
"meta-spec" => { version => 2 },
resources => {
homepage => 'https://metacpan.org/pod/Pod::Simple',
license => 'http://dev.perl.org/licenses/',
repository => {
url => 'https://github.com/perl-pod/pod-simple.git',
web => 'https://github.com/perl-pod/pod-simple',
type => 'git',
},
bugtracker => {
web => 'https://github.com/perl-pod/pod-simple/issues',
mailto => '[email protected]',
},
x_MailingList => 'https://lists.perl.org/list/pod-people.html',
},
prereqs => {
runtime => {
recommends => {
'Encode' =>
'2.78', # Pod::Simple's new default code page (1252) is
# pre-compiled in 2.78, which improves performance.
},
},
},
},
);
unless ( eval { ExtUtils::MakeMaker->VERSION('6.63_03') } ) {
$WriteMakefileArgs{BUILD_REQUIRES} = {
%{ delete $WriteMakefileArgs{TEST_REQUIRES} || {} },
%{ $WriteMakefileArgs{BUILD_REQUIRES} || {} },
};
}
unless ( eval { ExtUtils::MakeMaker->VERSION('6.55_01') } ) {
$WriteMakefileArgs{PREREQ_PM} = {
%{ delete $WriteMakefileArgs{BUILD_REQUIRES} || {} },
%{ $WriteMakefileArgs{PREREQ_PM} || {} },
};
}
WriteMakefile(%WriteMakefileArgs);
package MY;
sub libscan { # Determine things that should *not* be installed
my ( $self, $path ) = @_;
return '' if $path =~ m/~/;
$path;
}
__END__