From: Arthur Axel "fREW" Schmidt Date: Wed, 27 Jan 2010 06:28:00 +0000 (+0000) Subject: use Module::Install X-Git-Tag: v0.900201~49 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a7652ab8e018590136b989357856aa893065186e;p=dbsrgits%2FDBIx-Class-Journal.git use Module::Install --- diff --git a/Makefile.PL b/Makefile.PL index c40c104..651975d 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,10 +1,24 @@ -use ExtUtils::MakeMaker; - -WriteMakefile( - NAME => 'DBIx::Class::Journal', - VERSION_FROM => 'lib/DBIx/Class/Journal.pm', - PREREQ_PM => { 'DBIx::Class' => 0.08, - 'DBD::SQLite' => 0.12, - 'Test::TempDir' => 0.04, - }, -); +use inc::Module::Install 0.89; +use strict; +use warnings; + +use 5.008001; + +# ****** DO NOT ADD OPTIONAL DEPENDENCIES. EVER. --mst ****** + +name 'DBIx-Class-Journal'; +perl_version '5.008001'; +all_from 'lib/DBIx/Class/Journal.pm'; + + +test_requires 'Test::TempDir' => '0.04'; + +requires 'DBIx::Class' => '0.08'; + +tests_recursive ('t'); + +resources 'license' => 'http://dev.perl.org/licenses/'; +resources 'repository' => 'http://dev.catalyst.perl.org/repos/bast/DBIx-Class-Journal/'; + +WriteAll(); + diff --git a/TODO b/TODO index 1fb3cf8..2985bd4 100644 --- a/TODO +++ b/TODO @@ -8,6 +8,3 @@ $resultset->delete and other bulk ops $history->restore; $changeset->rollback; # all up to this point? $changeset->reverse; # only this one - -why isn't this a Module::Install based app? -add Test/TempDir.pm to build_requires \ No newline at end of file