File: Build.PL

package info (click to toggle)
libcgi-application-plugin-protectcsrf-perl 1.01-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 220 kB
  • ctags: 37
  • sloc: perl: 194; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 788 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
use strict;
use warnings;
use Module::Build;

my $builder = Module::Build->new(
    module_name         => 'CGI::Application::Plugin::ProtectCSRF',
    license             => 'perl',
    dist_author         => 'Akira Horimoto <kurt0027@gmail.com>',
    dist_version_from   => 'CGI/Application/Plugin/ProtectCSRF.pm',
    requires => {
        "Attribute::Handlers"               => 0.78,
        "CGI::Application"                  => 4.04,
        "CGI::Application::Plugin::Session" => 1.01,
        "Digest::SHA"                       => 0,
    },
    pm_files => {
        'CGI/Application/Plugin/ProtectCSRF.pm' =>
        'lib/CGI/Application/Plugin/ProtectCSRF.pm',
    },
    add_to_cleanup      => [ 'CGI-Application-Plugin-ProtectCSRF-*' ],
);

$builder->create_build_script();