Update Firebird ODBC driver download URL
[dbsrgits/DBIx-Class-Schema-Loader.git] / maint / Makefile.PL.include
CommitLineData
c812f69d 1BEGIN { -e 'Distar' or system("git clone git://git.shadowcat.co.uk/p5sagit/Distar.git") }
2use lib 'Distar/lib';
3use Distar 0.001;
4
5author 'Caelum: Rafael Kitover <rkitover@cpan.org>';
6
7manifest_include 't/backcompat/0.04006/lib' => qr/.*\.pm$/;
1780d20a 8manifest_include 't/bin' => qr/\w+/;
9manifest_include 'script' => qr/\w+/;
c812f69d 10
11use FindBin;
12use lib "$FindBin::Bin/lib";
13require DBIx::Class::Schema::Loader::Optional::Dependencies;
14my $optdeps = 'DBIx::Class::Schema::Loader::Optional::Dependencies';
15my @req_groups = keys %{ $optdeps->req_group_list };
16my @other_groups = grep { !/rdbms/ } @req_groups;
17my %dev_requires = %{ $optdeps->modreq_list_for(\@other_groups) };
18
19eval {
20 # eval as blows up if not all deps installed
21 # should probably be part of "build" stage instead
22 $optdeps->_gen_pod(undef, 'lib');
23};
24
25# vim: ft=perl et sts=4 sw=4 tw=0:
26
27# list in case more added - returned to caller
28(\%dev_requires);