File: Build.PL

package info (click to toggle)
libconfig-std-perl 0.903-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 236 kB
  • sloc: perl: 383; makefile: 2
file content (44 lines) | stat: -rw-r--r-- 1,110 bytes parent folder | download | duplicates (3)
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
42
43
44
use 5.007_003;
use strict;
use warnings;
use Module::Build '0.19';

my $builder = Module::Build->new(
    module_name         => 'Config::Std',
    license             => 'perl',
    create_license      => 'perl',
    dist_author         => [ 	'Damian Conway <DCONWAY@cpan.org>',
				'Bill Ricker <BRICKER@cpan.org>',
				'Tom Metro <tmetro@cpan.org>'],

    dist_version_from   => 'lib/Config/Std.pm',

    requires => {
        'Test::More' => 0,
        'Class::Std' => 0,
        'version'    => 0,
        'perl'       => '5.7.3',

    },

    recommends => {
         'Test::Pod' => 0,
         'Test::Distribution' => 0,
    },

    meta_merge => {
        resources => {
            repository => 'https://github.com/n1vux/Config-Std-Perl',
        }
    },
    add_to_cleanup      => [ 'Config-Std-*' ],
    create_makefile_pl => 'traditional', # Module::Build::Compat
    use_tap_harness    => 1,
    tap_harness_args   => {
        jobs => 1, # Config file tests are setup & sequenced
        # default rulesfile=t/testrules.yml has belt and suspenders
      }

);

$builder->create_build_script();