Some kind of fix or workaround for phaylon's parameterized role bug in MXD.
[p5sagit/Devel-Declare.git] / Makefile.PL
index 6c1cad0..dd795f6 100644 (file)
@@ -1,4 +1,4 @@
-use inc::Module::Install 0.67;
+use inc::Module::Install 0.91;
 
 use 5.008001;
 
@@ -7,15 +7,22 @@ use ExtUtils::Depends;
 name 'Devel-Declare';
 all_from 'lib/Devel/Declare.pm';
 
-requires 'Scalar::Util';
-requires 'B::Hooks::OP::Check' => '0.10';
+requires 'Scalar::Util' => 1.11; # set_prototype appeared in this version
+requires 'B::Hooks::OP::Check' => '0.18';
 requires 'B::Hooks::EndOfScope' => '0.05';
 requires 'Sub::Name';
 
-build_requires 'B::Hooks::OP::Check' => '0.10';
+build_requires 'B::Hooks::OP::Check' => '0.18';
 
-configure_requires 'ExtUtils::Depends';
-configure_requires 'B::Hooks::OP::Check' => '0.10';
+# minimum version that works on Win32+gcc
+configure_requires 'ExtUtils::Depends' => 0.302;
+
+# minimum version that depends on ExtUtils::Depends 0.302
+configure_requires 'B::Hooks::OP::Check' => '0.18';
+
+test_requires 'Test::More' => '0.88';
+
+repository 'git://github.com/rafl/devel-declare.git';
 
 postamble(<<'EOM');
 $(OBJECT) : stolen_chunk_of_toke.c
@@ -25,7 +32,7 @@ my $pkg = ExtUtils::Depends->new('Devel::Declare', 'B::Hooks::OP::Check');
 
 WriteMakefile(
   dist => {
-    PREOP => 'pod2text lib/Devel/Declare.pm >$(DISTVNAME)/README'
+    PREOP => 'pod2text lib/Devel/Declare.pm >README'
   },
   $pkg->get_makefile_vars,
 );