-
Notifications
You must be signed in to change notification settings - Fork 1
/
Build.PL
57 lines (48 loc) · 1.41 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
use 5.010;
use strict;
use warnings FATAL => 'all';
use Module::Build 0.35_14;
my $build = Module::Build->new(
license => 'mit',
module_name => 'Alien::BWIPP',
meta_merge => {
resources => {
repository => 'http://github.com/daxim/Alien-BWIPP',
bugtracker => 'http://github.com/daxim/Alien-BWIPP/issues',
},
},
configure_requires => {
'perl' => '5.010',
'Module::Build' => '0.35_14',
},
build_requires => {
'Test::More' => 0,
},
requires => {
'perl' => '5.010',
'English' => '1.04',
'File::ShareDir' => '1.01',
'IO::File' => '1.14',
'Moose' => '0.93',
'Moose::Meta::Class' => '0.93',
'MooseX::ClassAttribute' => '0.10',
'Storable' => '2.21',
},
share_dir => 'share',
);
$build->create_build_script;
__END__
=encoding UTF-8
=head1 INSTALLATION
=head2 system-wide installation
perl Build.PL
./Build
./Build test
sudo ./Build install
=head2 installation in a private directory
perl Build.PL --install_base ~/modules_prefix
./Build
./Build test
./Build install
Do not forget to add F<$HOME/modules_prefix/lib/perl5> to your C<@INC>, see
L<perlfaq8/"How do I add a directory to my include path (@INC) at runtime?">.