-
Notifications
You must be signed in to change notification settings - Fork 0
/
Build.PL
57 lines (47 loc) · 1.37 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/usr/bin/perl
# Build.PL
# Script to build and install this distribution
#
# $Id$
use strict;
use warnings;
use Module::Build;
my $builder = Module::Build->new(
module_name => 'WWW::OPG',
license => 'unrestricted',
dist_author => 'Jonathan Yu <[email protected]>',
dist_version_from => 'lib/WWW/OPG.pm',
dynamic_config => 0,
create_readme => 0,
recursive_test_files => 1,
sign => 1,
create_packlist => 1,
requires => {
'perl' => 5.006,
'LWP::UserAgent' => 0,
# The tests are based on Test::More
'Test::More' => 0.62,
'DateTime' => 0.4305,
},
build_requires => {
# User tests for good functionality
'Test::NoWarnings' => 0.084,
},
recommends => {
},
conflicts => {
},
add_to_cleanup => [ 'WWW-OPG-*' ],
script_files => [],
meta_merge => {
resources => {
# Custom resources (must begin with an uppercase letter)
Ratings => 'http://cpanratings.perl.org/d/WWW-OPG',
# Official keys (homepage, license, bugtracker)
repository => 'http://svn.ali.as/cpan/trunk/WWW-OPG',
bugtracker => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-OPG',
license => 'http://edwardsamuels.com/copyright/beyond/articles/public.html',
},
},
);
$builder->create_build_script();