2 my $class = Module::Build->subclass(
3 class => 'Module::Build::CXGN::JS',
6 # build action just runs make on programs
12 # override install to just copy the whole dir into the install_base
16 my $tgt_dir = File::Spec->catdir($self->install_base,'cxgn-jslib');
17 system 'rm', '-rf', $tgt_dir;
18 system 'cp', '-r', '.' => $tgt_dir;
19 $? and die "cxgn-jslib copy failed\n";
23 shift->SUPER::ACTION_clean(@_);
28 #my $class = 'Module::Build';
29 my $build = $class->new(
31 dist_name => 'CXGN-JS',
32 module_name => 'CXGN::JS',
34 create_makefile_pl => 'passthrough',
36 # current version of our core libraries distribution
37 dist_version => '0.1',
38 dist_author => 'Sol Genomics Network',
40 'Common set of javascript libraries for CXGN sites',
42 recursive_test_files => 1,
49 $build->create_build_script;