-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBuild.PL
63 lines (48 loc) · 1.3 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
#!/usr/bin/perl
use strict;
use warnings;
use inc::MyBuilder;
use File::Spec::Functions;
my %requires = (
perl => '5.6.1',
'Pod::Usage' => 0,
'Getopt::Long' => 0,
'Glib' => 0,
'Clutter' => '1.000',
'Gtk2' => 0,
'XML::LibXML' => 0,
'URI' => 0,
'Class::Accessor::Fast' => 0,
'File::Spec' => 0,
'FindBin' => 0,
'Carp' => 0,
'Data::Dumper' => 0,
'AnyEvent::HTTP' => 0,
'List::Util' => 0,
'Math::Trig' => 0,
);
my %configure_requires = (
'File::Spec::Functions' => 0,
);
my $build = inc::MyBuilder->new(
module_name => 'Game::Pexeso',
license => 'perl',
dist_author => 'Emmanuel Rodriguez <[email protected]>',
dist_version_from => catfile('lib', 'Game', 'Pexeso.pm'),
# Installation files
script_file => [ catfile('bin', 'pexeso') ],
# Dependencies
requires => \%requires,
configure_requires => \%configure_requires,
build_requires => {
%configure_requires,
},
meta_merge => {
resources => {
homepage => 'http://github.com/potyl/pexeso',
bugtracker => 'http://github.com/potyl/pexeso/issues',
repository => 'http://github.com/potyl/pexeso',
},
},
);
$build->create_build_script();