File: Build.PL

package info (click to toggle)
libcgi-application-plugin-captcha-perl 0.04-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 176 kB
  • ctags: 18
  • sloc: perl: 263; makefile: 2
file content (31 lines) | stat: -rw-r--r-- 944 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
29
30
31
use strict;
use warnings;
use Module::Build;

my $builder = Module::Build->new(
    module_name         => 'CGI::Application::Plugin::CAPTCHA',
    license             => 'perl',
    dist_author         => 'Jason A. Crome <cromedome@cpan.org>',
    dist_version_from   => 'lib/CGI/Application/Plugin/CAPTCHA.pm',
    requires => {
        'CGI::Application'  => '4.00',
        'GD::SecurityImage' => 0,
        'Data::Random'      => 0,
        'Digest::SHA'      => 0,
    },
    build_requires => {
        'Test::More'           => 0,
        'Test::Exception'      => 0,
        'Test::WWW::Mechanize' => 0,
    },
    meta_merge => {
        resources => {
            repository => 'https://github.com/cromedome/cgi-application-plugin-captcha'
        }
    },
    create_makefile_pl  => 'traditional',
    create_readme       => 1,
    add_to_cleanup      => [ 'CGI-Application-Plugin-CAPTCHA-*' ],
);

$builder->create_build_script();