X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=9947cc14744149eabc4bb39cd8c97f4c19453484;hb=60f3fd3f62543eeefdf2ec711b085e360fe89c6e;hp=d360b635c9d6aba7d8deff1b3884445afef149bb;hpb=340218d34197b85e792b1a744ecdb1214ad02c1b;p=dbsrgits%2FSQL-Abstract.git diff --git a/Makefile.PL b/Makefile.PL index d360b63..9947cc1 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,19 +1,41 @@ +use inc::Module::Install 1.06; +use strict; +use warnings; + use 5.006; -use ExtUtils::MakeMaker; -# See lib/ExtUtils/MakeMaker.pm for details of how to influence -# the contents of the Makefile that is written. -WriteMakefile( - NAME => 'SQL::Abstract', - VERSION_FROM => 'lib/SQL/Abstract.pm', # finds $VERSION - PREREQ_PM => { - "List::Util" => 0, - "Scalar::Util" => 0, - "Test::Builder" => 0, - "Test::More" => 0, - "Test::Exception" => 0, - "Test::Deep" => 0, - "Data::Dumper" => 0, - }, # e.g., Module::Name => 1.1 - ABSTRACT_FROM => 'lib/SQL/Abstract.pm', # retrieve abstract from module - AUTHOR => 'Nathan Wiger (nate@wiger.org)', -); + +perl_version '5.006'; +name 'SQL-Abstract'; +author 'Nathan Wiger '; +resources 'license' => 'http://dev.perl.org/licenses/'; +resources 'repository' => 'https://github.com/dbsrgits/sql-abstract/'; +resources 'bugtracker' => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=SQL-Abstract'; +resources 'IRC' => 'irc://irc.perl.org/#dbix-class'; + +all_from 'lib/SQL/Abstract.pm'; + +dynamic_config 0; + +requires 'List::Util' => '0'; +requires 'Scalar::Util' => '0'; +requires 'Exporter' => '5.57'; +requires 'MRO::Compat' => '0.12'; +requires 'Moo' => '2.000001'; +requires 'Sub::Quote' => '2.000001'; +requires 'Hash::Merge' => '0.12'; +requires 'Text::Balanced' => '2.00'; + +test_requires "Test::More" => '0.88'; +test_requires "Test::Exception" => '0.31'; +test_requires "Test::Warn" => '0'; +test_requires "Test::Deep" => '0.101'; +test_requires "Storable" => '0'; # for cloning in tests + +no_index package => 'DBIx::Class::Storage::Debug::PrettyPrint'; +no_index directory => 'examples'; + +tests_recursive 't'; + +auto_install(); + +WriteAll();