7 my $builder = Module::Build->new(
8 module_name => 'SQL::Translator',
9 dist_author => 'Ken Y. Clark <kclark@cpan.org>',
10 dist_version_from => 'lib/SQL/Translator.pm',
11 dist_abstract => 'SQL DDL transformations and more',
15 recursive_test_files => 1,
19 recursive_test_files => 1,
20 create_makefile_pl => 'passthrough',
24 'Class::Data::Inheritable' => 0.02,
25 'Class::MakeMethods' => 0,
26 'Digest::SHA1' => 2.00,
29 'Parse::RecDescent' => 1.94,
31 'Class::Accessor::Fast' => 0,
38 'Graph::Directed' => 0,
41 'Spreadsheet::ParseExcel' => '>= 0.2602, != 0.33',
42 'Text::ParseWords' => 0,
43 'Text::RecordParser' => 0.02,
44 'XML::Writer' => 0.500,
48 'File::Basename' => 0,
51 'Test::Differences' => 0,
52 'Test::Exception' => 0,
53 'Test::Differences' => 0,
57 add_to_cleanup => [ 'SQL-Translator-*' ],
68 # Where to store additional files such as templates.
69 # TODO: Should be OS dependant. See Module::Build::os_type()
70 install_dir => { type=>'=s', default=>'/usr/local/share/sqlfairy' },
74 # Custom resources (must begin with an uppercase letter)
75 Ratings => 'http://cpanratings.perl.org/d/SQL-Translator',
77 # Official keys (homepage, license, bugtracker)
78 repository => 'https://sqlfairy.svn.sourceforge.net/svnroot/sqlfairy',
79 bugtracker => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=SQL-Translator',
80 license => 'http://fsf.org/licensing/licenses/gpl.html',
85 # Copy .tt2 files in lib into blib/lib
86 $builder->add_build_element('tt2');
88 $builder->create_build_script;
89 print "Now run './Build', './Build test', and './Build install'\n";