File: Build.PL

package info (click to toggle)
libcarp-fix-1-25-perl 1.000001-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 264 kB
  • sloc: perl: 2,200; makefile: 2
file content (41 lines) | stat: -rw-r--r-- 973 bytes parent folder | download | duplicates (4)
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
#!/usr/bin/perl -w

use strict;
use warnings;

use Module::Build;

use 5.008;

my $builder = Module::Build->new(
    module_name => 'Carp::Fix::1_25',
    license     => 'perl',
    dist_author => 'Michael G Schwern <schwern@pobox.com>',

    requires => {
        'perl'                    => '5.8.0',
        'Carp'                    => 0,
    },
    configure_requires => {
        # MB's auto configure requires only puts it in the META.yml
        # so some CPAN shells won't see it.
        "Module::Build"      => '0.36',
    },

    meta_merge => {
        resources => {
            repository  => 'http://github.com/schwern/Carp-Fix-1_25/tree/master',
            bugtracker  => 'http://github.com/schwern/Carp-Fix-1_25/issues',
        },
        no_index => {
            package => [qw(Carp::Fix::1_25::Fixed)],
        }
    },

    recursive_test_files => 1,

    create_readme       => 1,
    create_license      => 1,
);

$builder->create_build_script();