File: Build.PL

package info (click to toggle)
libcgi-application-plugin-ajaxupload-perl 0.0.3-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 264 kB
  • sloc: perl: 1,284; makefile: 4
file content (42 lines) | stat: -rw-r--r-- 1,299 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
40
41
42
use strict;
use warnings;
use Module::Build;

my $builder = Module::Build->new(
    module_name         => 'CGI::Application::Plugin::AJAXUpload',
    license             => 'perl',
    dist_author         => 'Nicholas Bamber <nicholas@periapt.co.uk>',
    dist_version_from   => 'lib/CGI/Application/Plugin/AJAXUpload.pm',
    build_requires => {
        'Test::More' => '0.94',
        'File::Temp' => 0,
        'Test::NoWarnings' => 0,
        'Test::Warn'=>0,
        'Test::Image::GD'=>0,
        'CGI::Application::Plugin::JSON'=>0,
        'Test::CGI::Multipart'=>0,
    },
    requires => {
        'version'    => 0,
        'Exporter'   => 0,
        'CGI'        => '3.41',
        'CGI::Application' => 0,
        'Perl6::Slurp'=>0,
        'Readonly'=>0,
        'Data::FormValidator'=>0,
        'GD'=>0,
        'autodie'=>0,
    },
    meta_merge => {
        resources => {
            repository =>
                'http://github.com/periapt/CGI-Application-Plugin-AJAXUpload/tree',
        },
        keywords => [ 'CGI::Application', 'File upload', 'Image resizing', 'HTML', 'YUI rich text editor' ],
    },
    create_makefile_pl => 'traditional',
    create_readme=>1,
    add_to_cleanup      => [ 'CGI-Application-Plugin-AJAXUpload-*' ],
);

$builder->create_build_script();