From: Ricardo Signes Date: Mon, 28 Oct 2013 02:04:55 +0000 (-0400) Subject: stop using Module::Install X-Git-Tag: 0.14 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=gitmo%2FMoose-Autobox.git stop using Module::Install !! --- diff --git a/Makefile.PL b/Makefile.PL index 0bff2e2..b81adb7 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,24 +1,33 @@ use strict; use warnings; -use inc::Module::Install 0.96; -use Module::Install::AutoManifest; -use Module::Install::ExtraTests; +use ExtUtils::MakeMaker; -name('Moose-Autobox'); -all_from('lib/Moose/Autobox.pm'); - -requires 'autobox' => '2.23'; -requires 'parent' => 0; -requires 'Moose' => '0.42'; -requires 'Syntax::Keyword::Junction' => 0; - -test_requires 'Test::More' => '0.89'; -test_requires 'Test::Exception' => '0.21'; - -repository 'git://git.moose.perl.org/Moose-Autobox.git'; - -auto_manifest; -tests_recursive; -extra_tests; - -WriteAll; +WriteMakefile( + NAME => 'Moose::Autobox', + AUTHOR => 'Stevan Little ', + VERSION_FROM => 'lib/Moose/Autobox.pm', + ABSTRACT_FROM => 'lib/Moose/Autobox.pm', + LICENSE => 'perl', + PL_FILES => {}, + PREREQ_PM => { + 'autobox' => '2.23', + 'parent' => 0, + 'Moose' => '0.42', + 'Syntax::Keyword::Junction' => 0, + }, + TEST_REQUIRES => { + 'Test::More' => '0.89', + 'Test::Exception' => '0.21', + }, + META_MERGE => { + "meta-spec" => { version => 2 }, + resources => { + repository => { + type => 'git', + url => 'git://git.moose.perl.org/Moose-Autobox.git', + }, + }, + }, + dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, + clean => { FILES => 'Moose-Autobox-*' }, +);