forked from ruz/HTML-Gumbo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBuild.PL
More file actions
32 lines (27 loc) · 712 Bytes
/
Build.PL
File metadata and controls
32 lines (27 loc) · 712 Bytes
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
use Module::Build;
use Alien::LibGumbo;
my $alien = Alien::LibGumbo->new;
my $builder = Module::Build->new(
module_name => 'HTML::Gumbo',
license => 'perl',
create_license => 1,
configure_requires => {
'Module::Build' => 0.42,
'Alien::LibGumbo' => 0.03,
},
build_requires => {
'ExtUtils::CBuilder' => 0,
},
requires => {
'XSLoader' => 0,
},
meta_merge => {
resources => {
repository => 'https://github.com/bestpractical/HTML-Gumbo'
}
},
add_to_cleanup => [ 'HTML-Gumbo-*' ],
extra_compiler_flags => $alien->cflags(),
extra_linker_flags => $alien->libs(),
);
$builder->create_build_script;