-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.PL
69 lines (69 loc) · 2 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
#!/usr/bin/env perl
use ExtUtils::MakeMaker 6.52; # need >=6.52 for CONFIGURE_REQUIRES
# and in CONFIGURE_REQUIRES, we require >=6.64 for TEST_REQUIRES
WriteMakefile(
NAME => 'File::Replace',
AUTHOR => 'Hauke D <[email protected]>',
LICENSE => 'gpl_3',
VERSION_FROM => 'lib/File/Replace.pm', # finds $VERSION
ABSTRACT_FROM => 'lib/File/Replace.pod',
MIN_PERL_VERSION => '5.8.1',
META_MERGE => {
'meta-spec' => { version => 2 },
provides => {
'File::Replace' => {
file => 'lib/File/Replace.pm',
version => '0.18',
},
},
resources => {
homepage => 'https://github.com/haukex/File-Replace',
repository => {
type => 'git',
url => 'https://github.com/haukex/File-Replace.git',
web => 'https://github.com/haukex/File-Replace',
},
bugtracker => {
web => 'https://github.com/haukex/File-Replace/issues',
#mailto => '',
},
},
prereqs => {
runtime => {
recommends => { # "strongly encouraged and should be satisfied except in resource constrained environments"
},
suggests => { # "optional, but are suggested for enhanced operation"
'File::Replace::Fancy' => '0.18',
},
},
},
},
CONFIGURE_REQUIRES => {
'ExtUtils::MakeMaker' => '6.64',
},
PREREQ_PM => {
# CPAN - none
# Perl core modules
'Carp' => 0,
'warnings::register' => 0,
'IO::Handle' => 0,
'Hash::Util' => 0,
'Scalar::Util' => 0,
'File::Temp' => 0,
'File::Basename' => 0,
'File::Spec::Functions' => 0,
'File::Copy' => 0,
'Fcntl' => 0,
'Exporter' => 0,
},
TEST_REQUIRES => {
# CPAN
'Tie::Handle::Base' => '0.18',
# Perl core modules
'Encode' => 0,
'Test::More' => '1.302096',
'FindBin' => 0,
'File::stat' => 0,
# note I haven't included modules needed for author tests here
},
);