d6ee03ee28a39760d37192875bbf46632f3d9cd3
[dbsrgits/DBIx-Class-Historic.git] / Makefile.PL
1 use inc::Module::Install 0.67;
2
3 name     'DBIx-Class';
4 perl_version '5.006001';
5 all_from 'lib/DBIx/Class.pm';
6
7 requires 'Data::Page'                => 2.00;
8 requires 'Scalar::Util'              => 0;
9 requires 'SQL::Abstract'             => 1.20;
10 requires 'SQL::Abstract::Limit'      => 0.101;
11 requires 'Class::C3'                 => 0.13;
12 requires 'Storable'                  => 0;
13 requires 'Carp::Clan'                => 0;
14 requires 'DBI'                       => 1.40;
15 requires 'Module::Find'              => 0;
16 requires 'Class::Inspector'          => 0;
17 requires 'Class::Accessor::Grouped'  => 0.05002;
18 requires 'JSON'                      => 1.00; 
19 requires 'Scope::Guard'              => 0.03;
20
21 # Perl 5.8.0 doesn't have utf8::is_utf8()
22 requires 'Encode'                    => 0 if ($] <= 5.008000);  
23
24 build_requires 'DBD::SQLite'         => 1.11;
25
26 install_script 'script/dbicadmin';
27
28 tests "t/*.t t/*/*.t";
29
30 # re-build README if we're in an svk checkout
31 if( -e 'MANIFEST.SKIP' ) {
32     system('pod2text lib/DBIx/Class.pm > README');
33 }
34
35 auto_provides;
36
37 auto_install;
38
39 WriteAll;