File: Build.PL

package info (click to toggle)
libperl-metrics-simple-perl 0.17-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 268 kB
  • ctags: 99
  • sloc: perl: 1,161; makefile: 2
file content (41 lines) | stat: -rw-r--r-- 1,410 bytes parent folder | download | duplicates (2)
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
36
37
38
39
40
41
use strict;
use warnings;
use Module::Build;

# See perldoc Module::Build for details of how this works

Module::Build->new(
    module_name        => 'Perl::Metrics::Simple',
    license            => 'perl',
    configure_requires => { 'Module::Build' => 0.40 },
    requires           => {
        'Carp'                      => 0,
        'Data::Dumper'              => 0,
        'File::Basename'            => 0,
        'File::Find'                => 1.01,
        'IO::File'                  => 1.14,
        'Readonly'                  => 1.03,
        'PPI'                       => 1.113,
        'Statistics::Basic::StdDev' => 0,
        'Statistics::Basic::Mean'   => 0,
        'Statistics::Basic::Median' => 0,
        'Pod::Usage'                => 0,
    },
    recommends => {
        'Readonly::XS' => 1.02,                 # Speeds up Readonly scalars
    },
    build_requires => {
        'Data::Dumper'        => 0,
        'File::Spec'          => 0,
        'Module::Build'       => 0.2612,
        'Readonly'            => 1.03,
        'Test::Pod'           => 1.00,
        'Test::Pod::Coverage' => 1.04,
    },
    script_files => { 'bin/countperl' => 1, },
    add_to_cleanup => [ '*.tar.gz', 'Makefile', 'Makefile.old' ],
    meta_merge     => {
        resources =>
            { repository => 'https://github.com/matisse/Perl-Metrics-Simple', },
    },
)->create_build_script;