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