File: Build.PL

package info (click to toggle)
libcgi-application-perl 4.61-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 708 kB
  • sloc: perl: 1,397; sh: 38; makefile: 7
file content (39 lines) | stat: -rw-r--r-- 1,176 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
34
35
36
37
38
39
use Module::Build;
my $build = Module::Build->new
  (
   module_name => 'CGI::Application',
   license => 'perl',
   requires => {
	    'Module::Build'  => 0,
	    'CGI'            => 4.21, 
	    'HTML::Template' => 0,
	    'Test::More'     => 0.47,
	    'Test::Requires' => 0, 
	    'Carp'	     => 0,
	    'Class::ISA'     => 0,
	    'Scalar::Util'   => 0,
       },
    recommends => {
        CGI::PSGI       => 0.09, # If you want to use run_as_psgi()
    },
   'dist_author'        => [
            'Jesse Erlbaum <jesse@erlbaum.net>',
            'Mark Stosberg <mark@summersault.com>',
            'Martin McGrath <mcgrath.martin@gmail.com>',
            'with the help of many others!' 
            ],
   'dist_abstract'      => 'Framework for building reusable web-applications',
   create_makefile_pl   => 'traditional',
   meta_add             => {
        no_index =>  { file => [ <test/*.pm> ] }, 
   },
   meta_merge           => {
      resources => {
         repository => 'https://github.com/MartinMcGrath/CGI--Application',
         bugtracker => 'https://github.com/MartinMcGrath/CGI--Application/issues'
      },
   },
  );

$build->create_build_script;