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 <stevan@iinteractive.com>',
+ 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-*' },
+);