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',
33 create_makefile_pl => 'passthrough',
35 # current version of our core libraries distribution
36 dist_version => '0.1',
37 dist_author => 'Sol Genomics Network',
39 'Common set of javascript libraries for CXGN sites',
41 recursive_test_files => 1,
48 $build->create_build_script;