1 # $Id: Build.PL,v 1.13 2007-10-24 10:55:44 schiffbruechige Exp $
7 my $builder = Module::Build->new(
9 dist_abstract => 'SQL DDL transformations and more',
10 dist_author => 'Ken Y. Clark <kclark@cpan.org>',
11 dist_version_from => 'lib/SQL/Translator.pm',
13 module_name => 'SQL::Translator',
25 'Class::Data::Inheritable' => 0.02,
26 'Class::MakeMethods' => 0,
29 'Parse::RecDescent' => 1.94,
31 'Class::Accessor::Fast' => 0,
38 'Graph::Directed' => 0,
41 'Spreadsheet::ParseExcel' => 0.2602,
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 # Where to store additional files such as templates.
58 # TODO: Should be OS dependant. See Module::Build::os_type()
59 install_dir => { type=>'=s', default=>'/usr/local/share/sqlfairy' },
63 # Copy .tt2 files in lib into blib/lib
64 $builder->add_build_element('tt2');
66 $builder->create_build_script;
67 print "Now run './Build', './Build test', and './Build install'\n";