switch to Makefile.PL v0.02
Yuval Kogman [Fri, 15 Sep 2006 15:13:23 +0000 (15:13 +0000)]
Build.PL [deleted file]
Makefile.PL [new file with mode: 0644]

diff --git a/Build.PL b/Build.PL
deleted file mode 100644 (file)
index 005ec3c..0000000
--- a/Build.PL
+++ /dev/null
@@ -1,22 +0,0 @@
-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;
-
diff --git a/Makefile.PL b/Makefile.PL
new file mode 100644 (file)
index 0000000..7d8f319
--- /dev/null
@@ -0,0 +1,17 @@
+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,
+);