-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
75 lines (75 loc) · 2.1 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
#!/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 => 'Algorithm::Odometer::Tiny',
AUTHOR => 'Hauke D <[email protected]>',
LICENSE => 'perl_5',
VERSION_FROM => 'lib/Algorithm/Odometer/Tiny.pm', # finds $VERSION
ABSTRACT_FROM => 'lib/Algorithm/Odometer/Tiny.pm',
MIN_PERL_VERSION => '5.6.0',
META_MERGE => {
'meta-spec' => { version => 2 },
provides => {
'Algorithm::Odometer::Tiny' => {
file => 'lib/Algorithm/Odometer/Tiny.pm',
version => '0.04',
},
'Algorithm::Odometer::Gray' => {
file => 'lib/Algorithm/Odometer/Gray.pm',
version => '0.04',
},
},
no_index => {
file => [
],
},
resources => {
homepage => 'https://github.com/haukex/Algorithm-Odometer-Tiny',
repository => {
type => 'git',
url => 'https://github.com/haukex/Algorithm-Odometer-Tiny.git',
web => 'https://github.com/haukex/Algorithm-Odometer-Tiny',
},
bugtracker => {
web => 'https://github.com/haukex/Algorithm-Odometer-Tiny/issues',
#mailto => '',
},
},
prereqs => {
runtime => {
recommends => { # "strongly encouraged and should be satisfied except in resource constrained environments"
},
suggests => { # "optional, but are suggested for enhanced operation"
},
},
},
},
CONFIGURE_REQUIRES => {
'ExtUtils::MakeMaker' => '6.64',
},
PREREQ_PM => {
# CPAN - none
# Perl core modules
'Carp' => 0,
},
TEST_REQUIRES => {
# Perl core modules
'Test::More' => '1.302096',
'File::Spec::Functions' => 0,
'File::Glob' => 0,
'List::Util' => 0,
'FindBin' => 0,
'Exporter' => 0,
'constant' => 0,
# note I haven't included modules needed for author tests here
},
);
sub MY::postamble {
return <<'MAKE_FRAG';
.PHONY: authorcover
authorcover: test
cpanm Devel::Cover
cover -test -coverage default,-pod
MAKE_FRAG
}