File: Build.PL

package info (click to toggle)
libcgi-application-server-perl 0.062-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 164 kB
  • ctags: 23
  • sloc: perl: 548; makefile: 4
file content (33 lines) | stat: -rw-r--r-- 878 bytes parent folder | download
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
use Module::Build;

use strict;

my $build = Module::Build->new(
    module_name => 'CGI::Application::Server',
    license => 'perl',
    requires => {
        'Scalar::Util'  => '1.18',
        'Carp'          => '0.01',
        'HTTP::Request' => '0',
        'HTTP::Status'  => '0',
        'CGI::Application'             => '4.21',
        'HTTP::Server::Simple'         => '0.18',
        'HTTP::Server::Simple::Static' => '0.02',
    },
    optional => {
    },
    build_requires => {
        'Test::More'                 => '0.47',
        'Test::Exception'            => '0.21',
        'Test::HTTP::Server::Simple' => '0.02',
        'Test::WWW::Mechanize'       => '1.08',
        'CGI::Application::Plugin::Redirect' => '0',
    },
    recursive_test_files => 1,
    add_to_cleanup => [
        'META.yml', '*.bak', '*.gz',
    ],
);

$build->create_build_script;