File: Build.PL

package info (click to toggle)
dh-make-perl 0.129
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,292 kB
  • sloc: perl: 5,640; makefile: 34; sh: 25
file content (91 lines) | stat: -rw-r--r-- 3,289 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
use strict;
use warnings;
use lib qw(privinc);
use My::Builder;

my $builder = My::Builder->new(
    module_name         => 'DhMakePerl',
    license             => 'gpl',
    recommends          => {
        'Git'         => 0,
        'IO::Dir'     => 0,
    },
    configure_requires => { 'Module::Build' => 0.38 },
    requires            => {
        perl    => '5.010',

        'AptPkg::Cache'             => 0,
        'AptPkg::Config'            => 0,
        'Array::Unique'             => 0,
        'Carp'                      => 0,
        'Config::INI::Reader'       => 0,
        'CPAN'                      => 0,
        'CPAN::Meta'                => 0,
        'Cwd'                       => 0,
        'Dpkg'                      => 0,
        'Dpkg::Index'               => 0,
        'Dpkg::Control::Types'      => 0,
        'Dpkg::Source::Package'     => '1.01',
        'Email::Address::XS'        => '1.01',
        'Email::Date::Format'       => 0,
        'File::Basename'            => 0,
        'File::Copy'                => 0,
        'File::Find::Rule'          => 0,
        'File::Spec'                => 0,
        'File::Spec::Functions'     => 0,
        'File::Which'               => 0,
        'FindBin'                   => 0,
        'Getopt::Long'              => 0,
        'IO::File'                  => 0,
        'IO::Pipe'                  => 0,
        'IO::Select'                => 0,
        'IO::Uncompress::Gunzip'    => 0,
        'List::MoreUtils'           => 0,
        'LWP::ConnCache'            => 0,
        'LWP::UserAgent'            => 0,
        'Module::Build'             => 0,
        'Module::CoreList'          => 0,
        'Module::Depends'           => 0,
        'Module::Depends::Intrusive'=> 0,
        'Parse::DebControl'         => 0,
        'Software::License::Artistic_2_0' => 0,
        'Storable'                  => 0,
        'Sub::Install'              => 0,
        'Sys::CPU'                  => 0,
        'Text::Diff'                => 0,
        'Text::Wrap'                => 0,
        'Tie::File'                 => 0,
        'Tie::IxHash'               => 0,
        'User::pwent'               => 0,
        'version'                   => 0,
        'WWW::Mechanize'            => 0,
        'YAML'                      => 0,
        'YAML::XS'                  => 0,
    },
    build_requires      => {
        'IPC::Run'          => 0,
        'File::DirCompare'  => 0,
        'File::Touch'       => 0,
        'Test::Compile'     => 0,
        'Test::Deep'        => 0,
        'Test::Differences' => 0,
        'Test::Exception'   => 0,
        'Test::More'        => 0,
    },
    no_index => { directory => [qw(privinc t xt share)] },
    add_to_cleanup      => [ 'DhMakePerl-*', 'Build', '_build' ],
    script_files        => [ 'dh-make-perl' ],
    install_path        => {
        share   => '/usr/share/dh-make-perl',
    },
    share_files         => { map( ( $_ => $_ ), glob 'share/*' ) },
    meta_merge => {
        resources => {
            repository => 'https://salsa.debian.org/perl-team/modules/packages/dh-make-perl.git',
        },
        keywords => [ qw(debian package helper) ],
    },
);

$builder->add_build_element('share');
$builder->create_build_script();