-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBuild.PL
57 lines (50 loc) · 1.31 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
#!perl
BEGIN {
unshift @INC, 'inc';
}
use My::Builder;
use Config;
use File::Spec;
my $build = My::Builder->new(
module_name => 'Judy',
license => 'perl',
configure_requires => {
'strict' => 0,
'warnings' => 0,
'vars' => 0,
'Module::Build' => 0,
'File::Spec' => 0,
},
build_requires => {
'strict' => 0,
'warnings' => 0,
'Config' => 0,
'vars' => 0,
'File::Basename' => 0,
'File::Spec' => 0,
'File::Copy' => 0,
'DynaLoader' => 0,
'Test::More' => 0,
'Test::Deep' => 0,
'ExtUtils::CBuilder' => 0,
},
requires => {
'perl' => '5.6.0',
'strict' => 0,
'warnings' => 0,
'DynaLoader' => 0,
'constant' => 0,
'Config' => 0,
'Sub::Exporter' => 0,
'Alien::Judy' => '0.26',
},
create_readme => 1,
dynamic_config => 1,
# Both of these values will be overwritten by My::Builder during
# ACTION_build so the PERL5LIB of the moment can affect the usage
# of -I and -L flags to find Judy.h and libJudy.so
#
include_dirs => [],
extra_linker_flags => '',
);
$build->create_build_script();