From: Jonathan Rockway Date: Sun, 7 Oct 2007 09:01:23 +0000 (+0000) Subject: replace M::Build with M::Install X-Git-Tag: 0_44~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=591a9381c446d5e28cac8cdf7b89475c777710ed;p=gitmo%2FClass-MOP.git replace M::Build with M::Install --- diff --git a/Build.PL b/Build.PL deleted file mode 100644 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; - diff --git a/MANIFEST b/MANIFEST index 135deff..96bf023 100644 --- 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 index 0000000..b313ce8 --- /dev/null +++ b/Makefile.PL @@ -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();