Support columns with accessors that aren't the column name.
[catagits/Catalyst-Authentication-Store-DBIx-Class.git] / Makefile.PL
CommitLineData
6d4bea88 1use inc::Module::Install 0.91;
2aa8bdb6 2
76e7a763 3if( -e 'MANIFEST.SKIP' ) {
6727afe2 4 system( 'pod2text lib/Catalyst/Authentication/Store/DBIx/Class.pm > README' );
76e7a763 5}
6
f26005a7 7## I'd love to use can_use - but I can't seem to test for success. :-/
8eval { require Catalyst::Plugin::Authentication::Store::DBIx::Class or die 'footy'; };
9
10if (!$@) { #} can_use("Catalyst::Plugin::Authentication::Store::DBIx::Class") ) {
11 print STDERR <<EOM;
12*******************************************
13*** WARNING: DEPRECATED MODULE FOUND ***
14*******************************************
15
16You have the Catalyst::Plugin::Authentication::Store::DBIx::Class installed.
17The module you are installing supercedes it and it's presence has been known
18to cause conflicts. We STRONGLY recommend you remove the old module before
6d4bea88 19proceeding.
20
21You can use CPANPLUS (the cpanp command) to remove the module.
f26005a7 22
23You have 5 seconds to abort this install to remove the old module.
24EOM
25 sleep 5;
26 print STDERR "Ok. Proceeding anyway...\n\nYou are entering a dimension not only of sight and sound, but of mind...\n\n";
27}
28
29
6727afe2 30name 'Catalyst-Authentication-Store-DBIx-Class';
31all_from 'lib/Catalyst/Authentication/Store/DBIx/Class.pm';
2aa8bdb6 32
76e7a763 33perl_version '5.8.1';
34
6d4bea88 35requires (
36 'Catalyst::Runtime' => '5.80024',
37 'Catalyst::Plugin::Authentication' => '0.10016',
38 'Catalyst::Model::DBIC::Schema' => '0.41',
39 'DBIx::Class' => '0.08122',
40 'Moose' => '1.07',
41 'List::MoreUtils' => '0.25',
42);
76e7a763 43
44test_requires 'Test::More';
2aa8bdb6 45
de859d05 46resources repository => 'http://dev.catalystframework.org/repos/Catalyst/Catalyst-Authentication-Store-DBIx-Class';
7823fa50 47
6d4bea88 48auto_install;
49auto_provides;
2aa8bdb6 50WriteAll;