-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathBuild.PL
36 lines (34 loc) · 1 KB
/
Build.PL
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
use strict;
use warnings;
use Module::Build;
my $builder = Module::Build->new(
module_name => 'WWW::Contact',
license => 'perl',
dist_author => 'Fayland Lam <[email protected]>',
dist_version_from => 'lib/WWW/Contact.pm',
build_requires => {
'Test::More' => '0.90',
},
requires => {
'Moose' => '0.77',
'WWW::Mechanize' => 0,
'WWW::Mechanize::GZip' => 0,
'HTML::TreeBuilder' => 0,
'HTML::TokeParser::Simple' => 0,
'Crypt::SSLeay' => 0, # https
'Net::Google::AuthSub' => 0,
'JSON::XS' => 0,
'Text::vCard' => 0,
'HTML::Entities' => 0,
'Net::DNS::Resolver' => 0,
'Text::CSV' => 0,
},
add_to_cleanup => [ 'WWW-Contact-*' ],
create_makefile_pl => 'traditional',
meta_merge => {
resources => {
repository => 'http://github.com/fayland/perl-www-contact/tree/master',
}
},
);
$builder->create_build_script();