2 use warnings FATAL => 'all';
5 use ExtUtils::MakeMaker;
6 (do './maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
9 my $pkg = ExtUtils::Depends->new('Devel::Declare', 'B::Hooks::OP::Check');
12 'B::Hooks::OP::Check' => '0.19',
13 'Test::More' => '0.88',
14 'Test::Requires' => '0',
17 # have to do this since old EUMM dev releases miss the eval $VERSION line
18 my $mymeta_works = do { no warnings; $ExtUtils::MakeMaker::VERSION >= 6.5707 };
21 NAME => 'Devel::Declare',
22 AUTHOR => 'Matt S Trout - <mst@shadowcat.co.uk> - original author',
23 VERSION_FROM => 'lib/Devel/Declare.pm',
24 MIN_PERL_VERSION => '5.008001',
26 CONFIGURE_REQUIRES => {
27 # minimum version that works on Win32+gcc
28 'ExtUtils::Depends' => 0.302,
30 # minimum version that depends on ExtUtils::Depends 0.302
31 'B::Hooks::OP::Check' => '0.19',
35 'Scalar::Util' => 1.11, # set_prototype appeared in this version
36 'B::Hooks::OP::Check' => '0.19',
37 'B::Hooks::EndOfScope' => '0.05',
39 ($mymeta_works ? () : (%TEST_DEPS)),
42 $mymeta_works ? (BUILD_REQUIRES => \%TEST_DEPS) : (),
45 'meta-spec' => { version => 2 },
48 # r/w: p5sagit@git.shadowcat.co.uk:Devel-Declare.git
50 url => 'git://git.shadowcat.co.uk/p5sagit/Devel-Declare.git',
51 web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Devel-Declare.git',
55 mailto => 'bug-Devel-Declare@rt.cpan.org',
56 web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Devel-Declare',
59 x_contributors => [ # manually added, from git shortlog -e -s -n
60 'Florian Ragwitz <rafl@debian.org>',
61 'Matt S Trout <mst@shadowcat.co.uk>',
62 'Karen Etheridge <ether@cpan.org>',
63 'Zefram <zefram@fysh.org>',
64 'Rhesa Rozendaal <rhesa@cpan.org>',
65 'Ash Berlin <ash@cpan.org>',
66 'Chia-liang Kao <clkao@clkao.org>',
67 'Marcus Ramberg <marcus@nordaaker.com>',
68 'Christopher Nehren <apeiron@cpan.org>',
69 'Yuval Kogman <nothingmuch@woobling.org>',
70 'Cory Watson <gphat@cpan.org>',
71 'Alexandr Ciornii <alexchorny@gmail.com>',
72 'Father Chrysostomos <sprout@cpan.org>',
73 'Graham Knop <haarg@haarg.org>',
74 'Matthew Horsfall <WolfSage@cpan.org>',
75 'Nick Perez <nperez@cpan.org>',
76 'Yanick Champoux <yanick@babyl.dyndns.org>',
82 XS => { 'Declare.xs' => 'Declare.c' },
83 depend => { '$(OBJECT)' => 'stolen_chunk_of_toke.c' },
85 $pkg->get_makefile_vars,