File: Build.PL

package info (click to toggle)
libcgi-application-plugin-anytemplate-perl 0.18-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 772 kB
  • sloc: perl: 1,073; sh: 8; makefile: 2
file content (32 lines) | stat: -rwxr-xr-x 1,036 bytes parent folder | download | duplicates (4)
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
use strict;
use warnings;
use Module::Build;

my $builder = Module::Build->new(
    module_name         => 'CGI::Application::Plugin::AnyTemplate',
    license             => 'perl',
    dist_author         => 'Michael Graham <mag-perl@occamstoothbrush.com>',
    dist_version_from   => 'lib/CGI/Application/Plugin/AnyTemplate.pm',
    requires => {
        'Test::More'       => 0,
        'Clone'            => 0,
        'Scalar::Util'     => 0,
        'CGI::Application' => 0,   # We know that CGI::App requires HTML::Template
                                   # so we will have at least one templating system
                                   # installed

        'CGI::Application::Plugin::Forward' => 0,
    },
    meta_add            => {
         no_index       => {
             directory => [ qw/
                 misc
                 t
             /]
         }
    },
    add_to_cleanup      => [ 'CGI-Application-Plugin-AnyTemplate-*' ],
    create_makefile_pl  => 'traditional',
);

$builder->create_build_script();