+++ /dev/null
-use strict;
-use Module::Build;
-
-my $build = Module::Build->new(
- create_makefile_pl => 'traditional',
- license => 'perl',
- module_name => 'Catalyst::Plugin::Cache',
- requires => {
- 'perl' => '5.8.1',
- 'Catalyst' => '5.7',
- 'Storable' => 0,
- 'Test::Deep' => 0,
- 'Test::More' => 0,
- 'Test::Exception' => 0,
- 'Task::Weaken' => 0,
- 'Test::use::ok' => 0,
- },
- create_readme => 1,
- sign => 1,
-);
-$build->create_build_script;
-
--- /dev/null
+use ExtUtils::MakeMaker;
+WriteMakefile(
+ 'NAME' => 'Catalyst::Plugin::Cache',
+ 'VERSION_FROM' => 'lib/Catalyst/Plugin/Cache.pm',
+ 'PREREQ_PM' => {
+ 'Catalyst' => '5.7',
+ 'Storable' => 0,
+ 'Task::Weaken' => 0,
+ 'Test::Deep' => 0,
+ 'Test::Exception' => 0,
+ 'Test::More' => 0,
+ },
+ 'INSTALLDIRS' => 'site',
+ 'EXE_FILES' => [],
+ 'PL_FILES' => {},
+ 'SIGN' => 1,
+);