X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=45f759bb47575120a95a3787ced2d2bb979f4f7f;hb=HEAD;hp=ef6e4e383c1a4ebfb2652ca18f2a2688b2f536fd;hpb=c6e4d2a9be3dcd535ab54ef6b1bf6401fe0a7ace;p=p5sagit%2FDevel-BeginLift.git diff --git a/Makefile.PL b/Makefile.PL index ef6e4e3..45f759b 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,12 +1,23 @@ use inc::Module::Install 0.67; +use ExtUtils::Depends; + name 'Devel-BeginLift'; all_from 'lib/Devel/BeginLift.pm'; +requires 'B::Hooks::OP::Check::EntersubForCV' => '0.03'; + build_requires 'Test::More'; +build_requires 'B::Hooks::OP::Check::EntersubForCV'; + +configure_requires 'ExtUtils::Depends'; +configure_requires 'B::Hooks::OP::Check::EntersubForCV'; + +my $pkg = ExtUtils::Depends->new('Devel::Declare', 'B::Hooks::OP::Check::EntersubForCV'); WriteMakefile( dist => { PREOP => 'pod2text lib/Devel/BeginLift.pm >$(DISTVNAME)/README' - } + }, + $pkg->get_makefile_vars, );