-
Notifications
You must be signed in to change notification settings - Fork 0
/
Build.PL
75 lines (61 loc) · 1.79 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Build.PL
use strict; use warnings;
use Module::Build;
my $build = Module::Build->new(
# look up Module::Build::API for the info!
'dynamic_config' => 0,
'module_name' => 'Games::AssaultCube',
'license' => 'perl',
'dist_abstract' => "The AssaultCube perl libraries",
'dist_author' => 'Apocalypse <APOCAL@cpan.org>',
'create_packlist' => 1,
'create_makefile_pl' => 'traditional',
'create_readme' => 1,
'create_license' => 1,
'sign' => 0,
'test_files' => 't/*.t',
'add_to_cleanup' => [ 'META.yml', 'Makefile.PL', 'README', 'Makefile', 'LICENSE' ], # automatically generated
'build_requires' => {
# for serverquery.t
'Storable' => '2.18', # force latest so it can read the data...
'MIME::Base64' => 0,
'Test::More' => 0,
'HTTP::Response' => 0,
'DateTime' => 0,
},
'requires' => {
# our Moose crap :)
'Moose' => 0,
'Moose::Role' => 0,
'MooseX::StrictConstructor' => 0,
'MooseX::POE::SweetArgs' => 0,
'Moose::Util::TypeConstraints' => 0,
# Socket stuff
'IO::Socket::INET' => 0,
'LWP::UserAgent' => 0,
'HTTP::Request' => 0,
# Needed for Log::Line
'DateTime' => 0,
# POE stuff
'POE::Filter::Stream' => 0,
'POE::Wheel::UDP' => 0,
'Socket' => 0,
'Time::HiRes' => 0,
# perl stuff
'Exporter' => 0,
# set our minimum perl version ( needed for utf8 support )
'perl' => '5.008',
},
# include the standard stuff in META.yml
'meta_merge' => {
'keywords' => [ 'POE', 'AssaultCube' ],
'resources' => {
'repository' => 'http://github.com/apocalypse/perl-games-assaultcube',
'license' => 'http://dev.perl.org/licenses/',
'bugtracker' => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=Games-AssaultCube',
'homepage' => 'http://search.cpan.org/dist/Games-AssaultCube',
},
},
);
# all done!
$build->create_build_script;