+++ /dev/null
-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;
-
--- /dev/null
+#!/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' => {}
+);