X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=6c1cad085d6ce7f97745243308f45cd4a68fc821;hb=mad;hp=3d309292cbc5fbfc14e9ac2b0345739b5087aa88;hpb=f5262149fb867399b7bf2b004d318131fc1a14a4;p=p5sagit%2FDevel-Declare.git diff --git a/Makefile.PL b/Makefile.PL index 3d30929..6c1cad0 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -2,15 +2,30 @@ use inc::Module::Install 0.67; use 5.008001; +use ExtUtils::Depends; + name 'Devel-Declare'; -version '0.001008'; all_from 'lib/Devel/Declare.pm'; requires 'Scalar::Util'; -build_requires 'Test::More'; +requires 'B::Hooks::OP::Check' => '0.10'; +requires 'B::Hooks::EndOfScope' => '0.05'; +requires 'Sub::Name'; + +build_requires 'B::Hooks::OP::Check' => '0.10'; + +configure_requires 'ExtUtils::Depends'; +configure_requires 'B::Hooks::OP::Check' => '0.10'; + +postamble(<<'EOM'); +$(OBJECT) : stolen_chunk_of_toke.c +EOM + +my $pkg = ExtUtils::Depends->new('Devel::Declare', 'B::Hooks::OP::Check'); WriteMakefile( dist => { PREOP => 'pod2text lib/Devel/Declare.pm >$(DISTVNAME)/README' - } + }, + $pkg->get_makefile_vars, );