Switch repository to git (fREW Schmidt)
[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}
e93d5b53 6realclean_files 'README';
76e7a763 7
f26005a7 8## I'd love to use can_use - but I can't seem to test for success. :-/
9eval { require Catalyst::Plugin::Authentication::Store::DBIx::Class or die 'footy'; };
10
11if (!$@) { #} can_use("Catalyst::Plugin::Authentication::Store::DBIx::Class") ) {
12 print STDERR <<EOM;
13*******************************************
14*** WARNING: DEPRECATED MODULE FOUND ***
15*******************************************
16
17You have the Catalyst::Plugin::Authentication::Store::DBIx::Class installed.
18The module you are installing supercedes it and it's presence has been known
19to cause conflicts. We STRONGLY recommend you remove the old module before
6d4bea88 20proceeding.
21
22You can use CPANPLUS (the cpanp command) to remove the module.
f26005a7 23
24You have 5 seconds to abort this install to remove the old module.
25EOM
26 sleep 5;
27 print STDERR "Ok. Proceeding anyway...\n\nYou are entering a dimension not only of sight and sound, but of mind...\n\n";
28}
29
30
6727afe2 31name 'Catalyst-Authentication-Store-DBIx-Class';
32all_from 'lib/Catalyst/Authentication/Store/DBIx/Class.pm';
2aa8bdb6 33
76e7a763 34perl_version '5.8.1';
35
6d4bea88 36requires (
b8e7b84e 37 'Catalyst::Runtime' => '5.8',
38 'Catalyst::Plugin::Authentication' => '0.10008',
39 'Catalyst::Model::DBIC::Schema' => '0.18',
40 'DBIx::Class' => '0.08',
41 'Moose' => 0,
c305eeac 42 'namespace::autoclean' => 0,
b8e7b84e 43 'List::MoreUtils' => 0,
51f40056 44 'Try::Tiny' => 0,
6d4bea88 45);
76e7a763 46
47test_requires 'Test::More';
2aa8bdb6 48
b48ebfcd 49resources repository => 'git://git.shadowcat.co.uk/catagits/Catalyst-Authentication-Store-DBIx-Class.git',
7823fa50 50
6d4bea88 51auto_install;
52auto_provides;
2aa8bdb6 53WriteAll;