replace M::Build with M::Install
Jonathan Rockway [Sun, 7 Oct 2007 09:01:23 +0000 (09:01 +0000)]
Build.PL [deleted file]
MANIFEST
Makefile.PL [new file with mode: 0644]

diff --git a/Build.PL b/Build.PL
deleted file mode 100644 (file)
index abce9a1..0000000
--- a/Build.PL
+++ /dev/null
@@ -1,29 +0,0 @@
-use Module::Build;
-
-use strict;
-use warnings;
-
-my $build = Module::Build->new(
-    module_name => 'Class::MOP',
-    license => 'perl',
-    requires => {
-        'Scalar::Util' => '1.18',
-        'Sub::Name'    => '0.02',
-        'Carp'         => '0',
-        'B'            => '0',
-    },
-    optional => {},
-    build_requires => {
-        'Test::More'      => '0.62',
-        'Test::Exception' => '0.21',
-        'File::Spec'      => '0',
-    },
-    create_makefile_pl => 'traditional',
-    recursive_test_files => 1,
-    add_to_cleanup => [
-        'META.yml', '*.bak', '*.gz', 'Makefile.PL',
-    ],
-);
-
-$build->create_build_script;
-
index 135deff..96bf023 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,4 +1,3 @@
-Build.PL
 Changes
 META.yml
 Makefile.PL
diff --git a/Makefile.PL b/Makefile.PL
new file mode 100644 (file)
index 0000000..b313ce8
--- /dev/null
@@ -0,0 +1,18 @@
+use strict;
+use warnings;
+use inc::Module::Install;
+
+name 'Class-MOP';
+all_from 'lib/Class/MOP.pm';
+license 'perl';
+
+requires 'Scalar::Util' => '1.18';
+requires 'Sub::Name'    => '0.02';
+requires 'Carp'         => '0';
+requires 'B'            => '0';
+
+build_requires 'Test::More'      => '0.62';
+build_requires 'Test::Exception' => '0.21';
+build_requires 'File::Spec'      => '0';
+
+WriteAll();