EUMM in MX::AH
Yuval Kogman [Thu, 22 May 2008 13:39:28 +0000 (13:39 +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 760febb..0000000
--- a/Build.PL
+++ /dev/null
@@ -1,26 +0,0 @@
-use Module::Build;
-
-use strict;
-
-my $build = Module::Build->new(
-    module_name => 'MooseX::AttributeHelpers',
-    license => 'perl',
-    requires => {   
-        'Class::MOP' => '0.47',
-        'Moose'      => '0.30',
-    },
-    optional => {
-    },
-    build_requires => {
-        'Test::More'       => '0.62',
-        'Test::Exception'  => '0.21',
-    },
-    create_makefile_pl => 'traditional',
-    recursive_test_files => 1,
-    add_to_cleanup => [
-        'META.yml', '*.bak', '*.gz', 'Makefile.PL',
-    ],
-);
-
-$build->create_build_script;
-
diff --git a/Makefile.PL b/Makefile.PL
new file mode 100644 (file)
index 0000000..41d5cad
--- /dev/null
@@ -0,0 +1,19 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use ExtUtils::MakeMaker;
+WriteMakefile(
+    'NAME'         => 'MooseX::AttributeHelpers',
+    'VERSION_FROM' => 'lib/MooseX/AttributeHelpers.pm',
+    'PREREQ_PM'    => {
+        'Class::MOP'      => '0.47',
+        'Moose'           => '0.30',
+        'Test::Exception' => '0.21',
+        'Test::More'      => '0.62'
+    },
+    'INSTALLDIRS' => 'site',
+    'EXE_FILES'   => [],
+    'PL_FILES'    => {}
+);