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();
|