X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Action-Serialize-Data-Serializer.git;a=blobdiff_plain;f=Makefile.PL;h=0910ee636001ae2f276c74e5e72f9c3499ce1318;hp=ec8e1e2cf12159eb613528c914229e09ea897d9a;hb=HEAD;hpb=3d38a43f1afdd6ef725eab19f6aa96d85cd58d43 diff --git a/Makefile.PL b/Makefile.PL index ec8e1e2..0910ee6 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,47 +1,41 @@ +use strict; +use warnings; use inc::Module::Install; +use Module::Install::AuthorRequires; +use Module::Install::AuthorTests; +use Module::Install::Authority; perl_version '5.8.1'; -name 'Catalyst-Action-REST'; -all_from 'lib/Catalyst/Action/REST.pm'; +name 'Catalyst-Action-Serialize-Data-Serializer'; +all_from 'lib/Catalyst/Action/Serialize/Data/Serializer.pm'; -requires('Catalyst::Runtime' => '5.7001'); -requires('Params::Validate' => '0.76'); -requires('YAML::Syck' => '0.67'); -requires('Module::Pluggable::Object' => undef); -requires('LWP::UserAgent' => '2.033'); +requires('Catalyst::Action::REST' => '1.08'); +requires 'Moose' => '1.03'; +requires 'namespace::autoclean'; +requires('Catalyst::Runtime' => '5.80030'); requires('Data::Serializer' => '0.36'); -requires('Class::Inspector' => '1.13'); -requires('URI::Find' => undef); -requires('Data::Dump' => undef); -feature 'JSON (application/json) support', - -default => 0, - 'JSON' => '2.12'; - 'JSON::XS' => '2.2222'; +test_requires 'Test::More' => '0.88'; -feature 'Data::Taxi (text/x-data-taxi) support', - -default => 0, - 'Data::Taxi' => undef; +authority 'MSTROUT'; +author_requires 'Test::Pod' => 1.14; +author_requires 'Module::Info'; +author_requires 'File::Find::Rule'; -feature 'Config::General (text/x-config-general) support', - -default => 0, - 'Config::General' => undef; +author_tests 'xt/'; -feature 'PHP::Serialization (text/x-php-serialization) support', - -default => 0, - 'PHP::Serialization' => undef; +auto_install; -feature 'FreezeThaw (application/x-freezethaw) support', - -default => 0, - 'FreezeThaw' => undef; +if ($Module::Install::AUTHOR) { + system("pod2text lib/Catalyst/Action/Serialize/Data/Serializer.pm > README") + and die $!; +} -feature 'XML::Simple (text/xml) support', - -default => 0, - 'XML::Simple' => undef; +repository + 'git://git.shadowcat.co.uk/catagits/Catalyst-Action-Serialize-Data-Serializer.git'; -auto_include; -auto_install; +add_metadata( x_authority => 'cpan:BOBTFISH' ); WriteAll;