Updated Task::Catalyst
[catagits/Task-Catalyst.git] / Makefile.PL
index 13fb823..daabbc7 100644 (file)
@@ -6,22 +6,87 @@ author('Sebastian Riedel');
 version_from('Catalyst.pm');
 license('perl');
 
-requires('Catalyst');
-requires('Catalyst::Plugin::FormValidator');
-requires('Catalyst::Plugin::FormValidator::Simple');
-requires('Catalyst::Plugin::FillInForm');
-requires('Catalyst::Plugin::Prototype');
-requires('Catalyst::Plugin::Singleton');
-requires('Catalyst::Plugin::DefaultEnd');
-requires('Catalyst::Plugin::SubRequest');
-requires('Catalyst::Plugin::Session');
-requires('Catalyst::Plugin::Session::Store::File');
-requires('Catalyst::Plugin::Session::State::Cookie');
-requires('Catalyst::Plugin::Session::State::URI');
-requires('Catalyst::Model::DBIC');
-requires('Catalyst::Model::DBIC::Plain');
-requires('Catalyst::View::TT');
-requires('DBD::SQLite');
-requires('YAML');
+include('ExtUtils::AutoInstall');
 
+requires( 'Catalyst' => '5.65' );
+
+features(
+    'Log4perl Support' => [
+        -default                  => 1,
+        'Params::Validate'        => 0,
+        'Catalyst::Log::Log4perl' => '0.1'
+    ],
+    'HTML::Widget Support' => [
+        -default                         => 1,
+        'Date::Calc'                     => 0,
+        'Catalyst::Plugin::HTML::Widget' => '1.1'
+    ],
+    'Stacktrace Advanced Debugging Support' => [
+        -default                       => 1,
+        'Catalyst::Plugin::StackTrace' => '0.02'
+    ],
+    'Prototype Support' => [
+        -default                      => 1,
+        'Catalyst::Plugin::Prototype' => '1.32'
+    ],
+    'Singleton Support' => [
+        -default                      => 1,
+        'Catalyst::Plugin::Singleton' => '0.02'
+    ],
+    'DefaultEnd Support' => [
+        -default                       => 1,
+        'Catalyst::Plugin::DefaultEnd' => '0.03'
+    ],
+    'SubRequest Support' => [
+        -default                       => 1,
+        'Catalyst::Plugin::SubRequest' => '0.10'
+    ],
+    'Session Support' => [
+        -default                                   => 1,
+        'Catalyst::Plugin::Session'                => '0.05',
+        'Catalyst::Plugin::Session::Store::File'   => '0.07',
+        'Catalyst::Plugin::Session::State::Cookie' => '0.02',
+        'Catalyst::Plugin::Session::State::URI'    => '0.02'
+    ],
+    'Authentication/Authorization Support' => [
+        -default                                            => 1,
+        'Catalyst::Plugin::Authentication'                  => '0.05',
+        'Catalyst::Plugin::Authentication::Store::DBIC'     => '0.04',
+        'Catalyst::Plugin::Authentication::Store::Htpasswd' => '0.02',
+        'Catalyst::Plugin::Authorization::ACL'              => '0.06',
+        'Catalyst::Plugin::Authorization::Roles'            => '0.03',
+    ],
+    'I18N Support' => [
+        -default                 => 1,
+        'Catalyst::Plugin::I18N' => '0.05'
+    ],
+'XMLRPC Support (WARNING: requires XML::Parser which requires a C compiler and expat to be installed!)'
+      => [
+        -default                   => 0,
+        'XML::Parser'              => 0,
+        'Catalyst::Plugin::XMLRPC' => '0.06'
+      ],
+    'Pluggable Application Support' => [
+        -default                      => 1,
+        'Catalyst::Plugin::Pluggable' => '0.04'
+    ],
+    'DBIx::Class Support' => [
+        -default                        => 1,
+        'Catalyst::Model::DBIC::Schema' => '0.08'
+    ],
+    'Template::Toolkit Support' => [
+        -default             => 1,
+        'Catalyst::View::TT' => '0.22'
+    ],
+    'Test::WWW::Mechanize Support' => [
+        -default                         => 1,
+        'Test::WWW::Mechanize::Catalyst' => '0.35'
+    ],
+    'SQLite Support (WARNING: requires a C compiler!)' => [
+        -default      => 0,
+        'DBD::SQLite' => 0
+    ]
+);
+
+auto_install();
 &WriteAll;