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,
60 'Test::WWW::Mechanize' => 0,
61 'Test::WWW::Mechanize::Catalyst' => '0.50',
62 'Test::WWW::Selenium' => 0,
63 'Test::MockObject' => 0,
70 'IPC::System::Simple' => 0, #< required for autodie :all
73 'Bio::Chado::Schema' => '0.05900',
75 'Bio::Root::Version' => '1.006001',
76 'Bio::Graphics::FeatureFile' => 0,
81 'Catalyst::Runtime' => '5.80024',
82 'Catalyst::Controller::CGIBin' => '0.029',
83 'Catalyst::Action::RenderView' => 0,
84 'Catalyst::Plugin::ConfigLoader' => 0,
85 'Catalyst::Plugin::Static::Simple' => 0,
86 'Catalyst::View::Email' => 0,
87 'Catalyst::View::HTML::Mason' => 0,
88 'Catalyst::View::JavaScript::Minifier::XS'
90 'CatalystX::GlobalContext' => 0,
96 'Data::Visitor::Callback' => 0,
99 'DBIx::Connector' => 0,
101 'File::NFSLock' => 0,
104 'Number::Bytes::Human' => '0.07',
106 'GD::Graph::Map' => 0,
107 'GD::Graph::points' => 0,
110 'HTML::Entities' => 0,
113 'HTML::TreeBuilder::XPath' => 0,
116 'JSAN::ServerSide' => '==0.06',
118 'JSON::XS' => '2.24',
121 'LWP::UserAgent' => 0,
122 'Mail::Sendmail' => 0,
123 'Math::Round::Var' => 0,
125 'Module::Build' => '0.36',
127 'Module::Pluggable::Object' => 0,
129 'MooseX::Declare' => 0,
130 'MooseX::Method::Signatures' => '0.30',
131 'MooseX::Types::Path::Class' => 0,
132 'MooseX::Types::URI' => 0,
133 'MooseX::Singleton' => 0,
134 'Number::Format' => 0,
135 'namespace::autoclean' => 0,
136 'SOAP::Transport::HTTP' => 0,
137 'Statistics::Descriptive' => 0,
141 'Test::WWW::Mechanize' => 0,
142 'Test::WWW::Mechanize::Catalyst'
144 'Text::ParseWords' => 0,
145 'Tie::Function' => 0,
146 'Tie::UrlEncoder' => 0,
151 'URI::FromHash' => 0,
152 'XML::Generator' => 0,
155 'WWW::Mechanize::TreeBuilder' => 0,
159 $build->create_build_script;