File: Build.PL

package info (click to toggle)
libbio-graphics-perl 2.11-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,144 kB
  • ctags: 1,264
  • sloc: perl: 17,693; makefile: 4
file content (35 lines) | stat: -rw-r--r-- 1,102 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/perl

use strict;
use warnings;
use Module::Build;

my $build = Module::Build->new(
    module_name       => 'Bio::Graphics',
    license           => 'perl',
    dist_version_from => 'lib/Bio/Graphics.pm',
    dist_author       => 'Lincoln Stein <lincoln.stein@oicr.on.ca>',
    requires          => {
	'Bio::Root::Version'  => '1.005009001',
	'GD'                  => 2.30,
        'Statistics::Descriptive' => 2.6,   # required for Bio::Graphics::Wiggle::Loader
                                            #and tests fail without it 
    },
    recommends        => {
	'GD::SVG'                 => 0.32, 
	'Text::ParseWords'        => 3.26,  # required for Bio::Graphics::Wiggle::Loader
	'Bio::SCF'                => 1.01,  # required for Bio::Graphics::Glyph::trace
    },
    script_files => ['scripts/contig_draw.pl',
		     'scripts/feature_draw.pl',
		     'scripts/frend.pl',
		     'scripts/search_overview.pl',
		     'scripts/render_msa.pl',
    ],
    create_makefile_pl => 'passthrough',
    build_class        => 'Module::Build',
    );


$build->create_build_script;
exit 0;