Some kind of fix or workaround for phaylon's parameterized role bug in MXD.
[p5sagit/Devel-Declare.git] / Makefile.PL
1 use inc::Module::Install 0.91;
2
3 use 5.008001;
4
5 use ExtUtils::Depends;
6
7 name 'Devel-Declare';
8 all_from 'lib/Devel/Declare.pm';
9
10 requires 'Scalar::Util' => 1.11; # set_prototype appeared in this version
11 requires 'B::Hooks::OP::Check' => '0.18';
12 requires 'B::Hooks::EndOfScope' => '0.05';
13 requires 'Sub::Name';
14
15 build_requires 'B::Hooks::OP::Check' => '0.18';
16
17 # minimum version that works on Win32+gcc
18 configure_requires 'ExtUtils::Depends' => 0.302;
19
20 # minimum version that depends on ExtUtils::Depends 0.302
21 configure_requires 'B::Hooks::OP::Check' => '0.18';
22
23 test_requires 'Test::More' => '0.88';
24
25 repository 'git://github.com/rafl/devel-declare.git';
26
27 postamble(<<'EOM');
28 $(OBJECT) : stolen_chunk_of_toke.c
29 EOM
30
31 my $pkg = ExtUtils::Depends->new('Devel::Declare', 'B::Hooks::OP::Check');
32
33 WriteMakefile(
34   dist => {
35     PREOP => 'pod2text lib/Devel/Declare.pm >README'
36   },
37   $pkg->get_makefile_vars,
38 );