forked from geofffranks/json-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Build.PL
45 lines (40 loc) · 975 Bytes
/
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
use strict;
use warnings;
use Module::Build;
my $builder = Module::Build->new(
module_name => 'JSON::API',
create_license => 1,
license => 'perl',
dist_author => q{Geoff Franks <[email protected]>},
dist_version_from => 'lib/JSON/API.pm',
meta_merge => {
resources => {
homepage => 'https://github.com/geofffranks/json-api',
bugtracker => 'https://github.com/geofffranks/json-api/issues',
repository => 'git://github.com/geofffranks/json-api.git',
},
},
configure_requires => {
'Module::Build' => '0.38',
},
requires => {
'JSON' => 0,
'LWP::UserAgent' => 0,
'URI::Encode' => 0,
},
build_requires => {
'JSON' => 0,
'Test::Fake::HTTPD' => 0,
'IO::Capture' => 0,
'LWP::UserAgent' => 0,
'Test::More' => 0,
'Test::Pod::Coverage' => 0,
},
add_to_cleanup => [
'JSON-API-*',
'cover_db',
'*.rpm',
'*.deb',
]
);
$builder->create_build_script();