File: Build.PL

package info (click to toggle)
libanyevent-connector-perl 0.04-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 144 kB
  • sloc: perl: 182; makefile: 2
file content (39 lines) | stat: -rw-r--r-- 1,215 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
use 5.006;
use strict;
use warnings;
use Module::Build;
#use Module::Build::Prereqs::FromCPANfile;
 
Module::Build->new(
    module_name         => 'AnyEvent::Connector',
    license             => 'perl',
    dist_author         => q{Toshio Ito <toshioito@cpan.org>},
    dist_version_from   => 'lib/AnyEvent/Connector.pm',
    release_status      => 'stable',
    add_to_cleanup     => [ 'AnyEvent-Connector-*' ],
    recursive_test_files => 1,
    dynamic_config => 1,
    (-d "share") ? (share_dir => "share") : (),
    
    #mb_prereqs_from_cpanfile(),
    
    no_index => {
        directory => ["t", "xt", "eg", "inc", "share"],
        file => ['README.pod', 'README.md'],
    },
    meta_add => {
        'meta-spec' => {
            version => 2,
            url => 'https://metacpan.org/pod/CPAN::Meta::Spec',
        },
        resources => {
            bugtracker => {
                web => 'https://github.com/debug-ito/AnyEvent-Connector/issues',
            },
            repository => {
                url => 'git://github.com/debug-ito/AnyEvent-Connector.git',
                web => 'https://github.com/debug-ito/AnyEvent-Connector',
            },
        }
    }
)->create_build_script();