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
17 $self->SUPER::ACTION_install(@_);
19 my @install_dirs = qw|cgi-bin conf documents mason programs support_data t features js |;
22 my $tgt_dir = File::Spec->catdir($self->install_base,'sgn');
24 system 'cp', '-rl', @install_dirs => $tgt_dir;
25 $? and die "SGN site copy failed\n";
29 shift->SUPER::ACTION_clean(@_);
30 system "make -C programs clean";
31 $? and die "SGN site copy failed\n";
36 #my $class = 'Module::Build';
37 my $build = $class->new(
41 create_makefile_pl => 'passthrough',
43 module_name => 'SGN::Context',
45 # current version of our core libraries distribution
46 dist_version => '0.1',
47 dist_author => 'Lukas Mueller',
49 'The code and content behind the Sol Genomics Network main website, http://solgenomics.net',
51 recursive_test_files => 1,
54 'Class::MethodMaker' => 0,
62 'Test::WWW::Mechanize' => 0,
63 'Test::WWW::Selenium' => 0,
64 'Test::MockObject' => 0,
69 'IPC::System::Simple' => 0, #< required for autodie :all
72 'Bio::Chado::Schema' => '0.05900',
74 'Bio::Root::Version' => '1.006001',
75 'Bio::Graphics::FeatureFile' => 0,
80 'Catalyst::Runtime' => '5.80024',
81 'Catalyst::Controller::CGIBin' => '0.029',
82 'Catalyst::Action::RenderView' => 0,
83 'Catalyst::Plugin::ErrorCatcher' => 0,
84 'Catalyst::Plugin::ErrorCatcher::Email'
86 'Catalyst::Plugin::StackTrace' => 0,
87 'Catalyst::Plugin::Static::Simple' => 0,
88 'Catalyst::View::HTML::Mason' => 0,
89 'Catalyst::View::JavaScript::Minifier::XS'
91 'CatalystX::GlobalContext' => 0,
94 'CGI::Carp::DebugScreen' => '0.16',
97 'DBIx::Connector' => 0,
101 'Number::Bytes::Human' => '0.07',
103 'GD::Graph::Map' => 0,
104 'GD::Graph::points' => 0,
106 'HTML::Entities' => 0,
110 'JSAN::ServerSide' => '==0.06',
112 'JSON::XS' => '2.24',
115 'LWP::UserAgent' => 0,
116 'Mail::Sendmail' => 0,
117 'Math::Round::Var' => 0,
119 'Module::Build' => '0.36',
121 'Module::Pluggable::Object' => 0,
123 'MooseX::Declare' => 0,
124 'MooseX::Method::Signatures' => '0.30',
125 'MooseX::Types::Path::Class' => 0,
126 'MooseX::Types::URI' => 0,
127 'MooseX::Singleton' => 0,
128 'Number::Format' => 0,
129 'namespace::autoclean' => 0,
130 'SOAP::Transport::HTTP' => 0,
131 'Statistics::Descriptive' => 0,
135 'Test::WWW::Mechanize' => 0,
136 'Text::ParseWords' => 0,
137 'Tie::Function' => 0,
138 'Tie::UrlEncoder' => 0,
143 'URI::FromHash' => 0,
144 'XML::Generator' => 0,
149 'Test::WWW::Mechanize::Catalyst' => 0,
152 $build->create_build_script;