2 my $class = Module::Build->subclass(
3 class => 'Module::Build::SGNSite',
6 # build action just runs make on programs
9 $self->SUPER::ACTION_build(@_);
10 system "make -C programs";
11 $? and die "make failed\n";
14 # override install to just copy the whole dir into the install_base
18 # installation is just copying the entire dist into
21 my $tgt_dir = File::Spec->catdir($self->install_base,'sgn');
22 system 'cp', '-rl', '.', $tgt_dir;
23 $? and die "SGN site copy failed\n";
27 shift->SUPER::ACTION_clean(@_);
28 system "make -C programs clean";
29 $? and die "SGN site copy failed\n";
34 #my $class = 'Module::Build';
35 my $build = $class->new(
39 create_makefile_pl => 'passthrough',
41 module_name => 'SGN::Context',
43 # current version of our core libraries distribution
44 dist_version => '0.1',
45 dist_author => 'Lukas Mueller',
47 'The code and content behind the Sol Genomics Network main website, http://solgenomics.net',
49 recursive_test_files => 1,
52 'Class::MethodMaker' => 0,
59 'Test::WWW::Mechanize' => 0,
60 'Test::WWW::Mechanize::Catalyst' => '0.50',
61 'Test::WWW::Selenium' => 0,
62 'Test::MockObject' => 0,
68 'IPC::System::Simple' => 0, #< required for autodie :all
71 'Bio::Chado::Schema' => '0.05900',
73 'Bio::Root::Version' => '1.006001',
74 'Bio::Graphics::FeatureFile' => 0,
79 'Catalyst::Runtime' => '5.80024',
80 'Catalyst::Controller::CGIBin' => '0.029',
81 'Catalyst::Action::RenderView' => 0,
82 'Catalyst::Plugin::ConfigLoader' => 0,
83 'Catalyst::Plugin::Static::Simple' => 0,
84 'Catalyst::View::Email' => 0,
85 'Catalyst::View::HTML::Mason' => 0,
86 'Catalyst::View::JavaScript::Minifier::XS'
88 'CatalystX::GlobalContext' => 0,
94 'Data::Visitor::Callback' => 0,
97 'DBIx::Connector' => 0,
102 'Number::Bytes::Human' => '0.07',
104 'GD::Graph::Map' => 0,
105 'GD::Graph::points' => 0,
108 'HTML::Entities' => 0,
111 'HTML::TreeBuilder::XPath' => 0,
114 'JSAN::ServerSide' => '==0.06',
116 'JSON::XS' => '2.24',
119 'LWP::UserAgent' => 0,
120 'Mail::Sendmail' => 0,
121 'Math::Round::Var' => 0,
123 'Module::Build' => '0.36',
125 'Module::Pluggable::Object' => 0,
127 'MooseX::Declare' => 0,
128 'MooseX::Method::Signatures' => '0.30',
129 'MooseX::Types::Path::Class' => 0,
130 'MooseX::Types::URI' => 0,
131 'MooseX::Singleton' => 0,
132 'Number::Format' => 0,
133 'namespace::autoclean' => 0,
134 'SOAP::Transport::HTTP' => 0,
135 'Statistics::Descriptive' => 0,
139 'Test::WWW::Mechanize' => 0,
140 'Test::WWW::Mechanize::Catalyst'
142 'Text::ParseWords' => 0,
143 'Tie::Function' => 0,
144 'Tie::UrlEncoder' => 0,
149 'URI::FromHash' => 0,
150 'XML::Generator' => 0,
153 'WWW::Mechanize::TreeBuilder' => 0,
157 'IPC::System::Simple' => 0, #< required for autodie :all
159 'Bio::Chado::Schema' => '0.05900',
160 'Bio::Root::Version' => '1.006001',
161 'Bio::Graphics::FeatureFile' => 0,
163 'Catalyst::Runtime' => '5.80024',
164 'Catalyst::Controller::CGIBin' => '0.029',
165 'Catalyst::Action::RenderView' => 0,
166 'Catalyst::Plugin::ConfigLoader' => 0,
167 'Catalyst::Plugin::Static::Simple' => 0,
168 'Catalyst::View::Email' => 0,
169 'Catalyst::View::HTML::Mason' => 0,
170 'Catalyst::View::JavaScript::Minifier::XS' => '2.100000',
171 'CatalystX::GlobalContext' => 0,
175 'Data::Visitor::Callback' => 0,
177 'DBIx::Connector' => 0,
179 'File::NFSLock' => 0,
182 'Number::Bytes::Human' => '0.07',
184 'GD::Graph::Map' => 0,
185 'GD::Graph::points' => 0,
188 'HTML::Entities' => 0,
191 'HTML::TreeBuilder::XPath' => 0,
194 'JSAN::ServerSide' => '==0.06',
196 'JSON::XS' => '2.24',
199 'LWP::UserAgent' => 0,
200 'Mail::Sendmail' => 0,
201 'Math::Round::Var' => 0,
203 'Module::Build' => '0.36',
205 'Module::Pluggable::Object' => 0,
208 'MooseX::Declare' => 0,
209 'MooseX::Method::Signatures' => '0.30',
210 'MooseX::Types::Path::Class' => 0,
211 'MooseX::Types::URI' => 0,
212 'MooseX::Singleton' => 0,
213 'Number::Format' => 0,
214 'namespace::autoclean' => 0,
215 'SOAP::Transport::HTTP' => 0,
216 'Statistics::Descriptive' => 0,
220 'Test::WWW::Mechanize' => 0,
221 'Test::WWW::Mechanize::Catalyst' => 0,
222 'Text::ParseWords' => 0,
223 'Tie::Function' => 0,
224 'Tie::UrlEncoder' => 0,
229 'URI::FromHash' => 0,
230 'XML::Generator' => 0,
233 'WWW::Mechanize::TreeBuilder' => 0,
236 $build->create_build_script;