Commit | Line | Data |
10f36920 |
1 | # $Id: Build.PL,v 1.2 2004-10-15 03:52:50 allenday Exp $ |
5e14531f |
2 | |
3 | use strict; |
4 | use Module::Build; |
5 | |
6 | my $builder = Module::Build->new( |
7 | create_readme => 0, |
8 | dist_abstract => 'SQL DDL transformations and more', |
9 | dist_author => 'Ken Y. Clark <kclark@cpan.org>', |
10 | dist_version_from => 'lib/SQL/Translator.pm', |
11 | license => 'gpl', |
12 | module_name => 'SQL::Translator', |
13 | sign => 1, |
14 | script_files => [ |
15 | 'bin/sqlt-diagram', |
16 | 'bin/sqlt-diff', |
17 | 'bin/sqlt-dumper', |
18 | 'bin/sqlt-graph', |
19 | 'bin/sqlt', |
20 | ], |
21 | requires => { |
22 | 'Class::Base' => 0, |
23 | 'IO::Dir' => 0, |
10f36920 |
24 | 'Log::Log4perl' => 0, |
5e14531f |
25 | 'Template' => 2.10, |
26 | 'Parse::RecDescent' => 1.94, |
27 | 'Pod::Usage' => 0, |
28 | }, |
29 | recommends => { |
30 | 'GD' => 0, |
31 | 'GraphViz' => 0, |
32 | 'IO::File' => 0, |
33 | 'IO::Scalar' => 0, |
34 | 'Spreadsheet::ParseExcel' => 0.2602, |
35 | 'Text::ParseWords' => 0, |
36 | 'Text::RecordParser' => 0.02, |
37 | 'XML::Writer' => 0.500, |
38 | 'XML::XPath' => 1.13, |
39 | 'YAML' => 0, |
40 | }, |
41 | build_requires => { |
42 | 'File::Basename' => 0, |
43 | 'File::Spec' => 0, |
44 | 'Test::More' => 0, |
45 | 'Test::Exception' => 0, |
46 | 'Test::Differences' => 0, |
47 | } |
48 | ); |
49 | $builder->create_build_script; |
50 | print "Now run './Build', './Build test', and './Build install'\n"; |