File: Build.PL

package info (click to toggle)
libhttp-proxy-perl 0.301-1%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 636 kB
  • ctags: 164
  • sloc: perl: 2,403; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 706 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
use strict;
use warnings;
use Module::Build;

my $builder = Module::Build->new(
    module_name         => 'HTTP::Proxy',
    license             => 'perl',
    dist_author         => 'Philippe "BooK" Bruhat <book@cpan.org>',
    dist_version_from   => 'lib/HTTP/Proxy.pm',
    configure_requires  => {
        'Module::Build' => 0.38,
    },
    test_requires       => {
        'Test::More' => 0,
    },
    requires => {
        'HTTP::Daemon' => 1.25,
        'LWP::UserAgent' => 2,
    },
    add_to_cleanup      => [ 'HTTP-Proxy-*' ],
    meta_merge     => {
        resources => {
            repository => 'http://github.com/book/HTTP-Proxy',
        },
    },
);

$builder->create_build_script();