Teach YAML producer to encode extra attributes
[dbsrgits/SQL-Translator.git] / Makefile.PL
CommitLineData
6e64adbe 1use inc::Module::Install 0.89;
2use strict;
3use warnings;
4
5my $deps = {
6 requires => {
7 'Class::Base' => 0,
8 'Class::Data::Inheritable' => 0.02,
9 'Class::MakeMethods' => 0,
10 'Digest::SHA1' => 2.00,
467b7282 11 'Carp::Clan' => 0,
6e64adbe 12 'IO::Dir' => 0,
467b7282 13 'IO::Scalar' => 2.110,
6e64adbe 14 'Parse::RecDescent' => 1.096000, # PBP ftw
15 'Pod::Usage' => 0,
16 'Class::Accessor::Fast' => 0,
17 'DBI' => 0,
18 'File::ShareDir' => 1.0,
19 'File::Spec' => 0,
20 },
21 recommends => {
22 'Template' => 2.10,
23 'GD' => 0,
24 'GraphViz' => 0,
25 'Graph::Directed' => 0,
26 'IO::File' => 0,
27 'IO::Scalar' => 0,
28 'Spreadsheet::ParseExcel' => 0.41,
29 'Text::ParseWords' => 0,
30 'Text::RecordParser' => 0.02,
31 'XML::Writer' => 0.500,
32 'XML::LibXML' => 1.61,
33 },
34 test_requires => {
35 'File::Basename' => 0,
36 'Test::More' => 0.6,
37 'Test::Differences' => 0,
38 'Test::Exception' => 0,
39 'YAML' => 0.39,
40 },
41};
42
43perl_version '5.005';
44
45name 'SQL-Translator';
46author 'Ken Youens-Clark <kclark@cpan.org>';
47abstract 'SQL DDL transformations and more';
48license 'http://fsf.org/licensing/licenses/gpl.html';
49repository 'https://sqlfairy.svn.sourceforge.net/svnroot/sqlfairy';
50bugtracker 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=SQL-Translator';
51
52resources Ratings => 'http://cpanratings.perl.org/d/SQL-Translator';
53
54all_from 'lib/SQL/Translator.pm';
55
56for my $type (qw/requires recommends test_requires/) {
57 no strict qw/refs/;
58 my $f = \&$type;
59 for my $mod (keys %{$deps->{$type} || {} }) {
60 $f->($mod, $deps->{$type}{$mod});
61 }
62}
63
64tests_recursive ();
65
66install_script (qw|
467b7282 67 script/sqlt-diagram
68 script/sqlt-diff
69 script/sqlt-diff-old
70 script/sqlt-dumper
71 script/sqlt-graph
72 script/sqlt
6e64adbe 73|);
74
75install_share();
76
77auto_provides();
78
79auto_install();
80
81WriteAll();