Merge branch 'hook_op_check'
[p5sagit/Devel-Declare.git] / Makefile.PL
CommitLineData
94caac6e 1use inc::Module::Install 0.67;
2
0d267aac 3use 5.008001;
daf38100 4
b15aa864 5use ExtUtils::Depends;
6
94caac6e 7name 'Devel-Declare';
8all_from 'lib/Devel/Declare.pm';
9
323ae557 10requires 'Scalar::Util';
6e67754a 11requires 'B::Hooks::OP::Check' => '0.10';
94caac6e 12build_requires 'Test::More';
2ee34f20 13build_requires 'Scope::Guard';
6e67754a 14build_requires 'B::Hooks::OP::Check' => '0.10';
b15aa864 15configure_requires 'ExtUtils::Depends';
6e67754a 16configure_requires 'B::Hooks::OP::Check' => '0.10';
94caac6e 17
e2c10f81 18postamble(<<'EOM');
19$(OBJECT) : stolen_chunk_of_toke.c
20EOM
21
b15aa864 22my $pkg = ExtUtils::Depends->new('Devel::Declare', 'B::Hooks::OP::Check');
23
94caac6e 24WriteMakefile(
25 dist => {
26 PREOP => 'pod2text lib/Devel/Declare.pm >$(DISTVNAME)/README'
b15aa864 27 },
28 $pkg->get_makefile_vars,
94caac6e 29);