Commit | Line | Data |
a4891190 |
1 | use strict; |
2 | use warnings FATAL => 'all'; |
3 | use ExtUtils::MakeMaker; |
5661e08c |
4 | use 5.006; |
a4891190 |
5 | |
e86dd03e |
6 | # TODO: convert to dzil and use [OnlyCorePrereqs], and possibly [DualLife] |
7 | |
f1d18ad3 |
8 | (do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml'; |
a4891190 |
9 | |
10 | WriteMakefile( |
11 | NAME => 'Module::Metadata', |
4850170c |
12 | VERSION_FROM => 'lib/Module/Metadata.pm', |
d903922c |
13 | ABSTRACT_FROM => 'lib/Module/Metadata.pm', |
14 | LICENSE => 'perl', |
c3a12878 |
15 | MIN_PERL_VERSION => '5.006', |
4850170c |
16 | PREREQ_PM => { |
8f9f6d27 |
17 | 'Carp' => 0, |
18 | 'File::Find' => 0, |
19 | 'File::Spec' => 0, |
20 | 'IO::File' => 0, |
21 | 'strict' => 0, |
eed8b6fa |
22 | 'warnings' => 0, |
8f9f6d27 |
23 | 'vars' => 0, |
24 | 'version' => 0.87, |
25 | 'warnings' => 0, |
8d86d0e2 |
26 | $] < 5.008 |
27 | ? ( 'IO::Scalar' => 0 ) |
28 | : () |
29 | , |
4850170c |
30 | }, |
f0839c2d |
31 | -f 'META.yml' ? () : ( |
7e57a40e |
32 | META_MERGE => { |
5ebfae52 |
33 | 'meta-spec' => { version => 2 }, |
7e57a40e |
34 | dynamic_config => 0, |
35 | resources => { |
36 | # r/w: p5sagit@git.shadowcat.co.uk:Module-Metadata.git |
e39df202 |
37 | repository => { |
38 | url => 'git://git.shadowcat.co.uk/p5sagit/Module-Metadata.git', |
39 | web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Module-Metadata.git', |
40 | type => 'git', |
41 | }, |
42 | bugtracker => { |
43 | mailto => 'bug-Module-Metadata@rt.cpan.org', |
44 | web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Module-Metadata', |
45 | }, |
7e57a40e |
46 | }, |
e86dd03e |
47 | prereqs => { |
b813e141 |
48 | test => { |
49 | requires => { |
e86dd03e |
50 | 'Test::More' => 0, |
51 | 'Carp' => 0, |
52 | 'Config' => 0, |
53 | 'Cwd' => 0, |
54 | 'Data::Dumper' => 0, |
55 | 'Exporter' => 0, |
56 | 'File::Basename' => 0, |
57 | 'File::Find' => 0, |
58 | 'File::Path' => 0, |
59 | 'File::Spec' => 0, |
60 | 'File::Temp' => 0, |
61 | 'IO::File' => 0, |
62 | }, |
63 | }, |
64 | }, |
f0839c2d |
65 | } ), |
a4891190 |
66 | ); |