require the pragmas if a compiler is present
[p5sagit/strictures.git] / Makefile.PL
CommitLineData
eae006ee 1use strict;
2use warnings FATAL => 'all';
394c3a46 3use ExtUtils::MakeMaker;
4
eae006ee 5(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
6
394c3a46 7WriteMakefile(
8 NAME => 'strictures',
9 VERSION_FROM => 'lib/strictures.pm',
21e2b1b2 10 MIN_PERL_VERSION => '5.006',
de111885 11
dfdfcbae 12 META_MERGE => {
5c109c51 13 'meta-spec' => { version => 2 },
77f9ff76 14 dynamic_config => 0,
15
de111885 16 resources => {
17 # r/w: p5sagit@git.shadowcat.co.uk:strictures.git
bfbeb6fd 18 repository => {
19 url => 'git://git.shadowcat.co.uk/p5sagit/strictures.git',
20 web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/strictures.git',
21 type => 'git',
22 },
23 bugtracker => {
24 mailto => 'bug-strictures@rt.cpan.org',
25 web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=strictures',
26 },
de111885 27 },
dfdfcbae 28
088e735f 29 prereqs => {
30 runtime => {
31 recommends => {
32 indirect => 0,
33 multidimensional => 0,
34 'bareword::filehandles' => 0,
35 },
36 },
dfdfcbae 37 },
de111885 38 },
5468e090 39
40 (eval { require ExtUtils::CBuilder; 1 }
41 and ExtUtils::CBuilder->new->have_compiler)
42 ? (PREREQ_PM => {
43 indirect => 0,
44 multidimensional => 0,
45 'bareword::filehandles' => 0,
46 })
47 : (),
394c3a46 48);