X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=120533c93d235954cb37bddb115f3f95a616e9a2;hb=HEAD;hp=41d5cad3c34b385507fe777b006557da7bbacfba;hpb=169f94b9105f12c0e6361abb5008eb7ef44bf7cb;p=gitmo%2FMooseX-AttributeHelpers.git diff --git a/Makefile.PL b/Makefile.PL index 41d5cad..120533c 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,19 +1,15 @@ -#!/usr/bin/perl +use inc::Module::Install; -use strict; -use warnings; +name 'MooseX-AttributeHelpers'; +license 'perl'; -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' => {} -); +all_from 'lib/MooseX/AttributeHelpers.pm'; + +requires 'Moose' => '0.56'; + +build_requires 'Test::More' => '0.62'; +build_requires 'Test::Exception' => '0.21'; +build_requires 'Test::Moose'; + +auto_provides; +WriteAll();