forked from zonemaster/zonemaster-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.PL
More file actions
40 lines (31 loc) · 820 Bytes
/
Makefile.PL
File metadata and controls
40 lines (31 loc) · 820 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
33
34
35
36
37
38
39
40
use 5.014002;
use strict;
use warnings FATAL => 'all';
use inc::Module::Install;
use ExtUtils::MakeMaker ();
name 'Zonemaster-CLI';
all_from 'lib/Zonemaster/CLI.pm';
resources(
repository => 'https://github.com/zonemaster/zonemaster-cli',
bugtracker => 'https://github.com/zonemaster/zonemaster-cli/issues',
);
tests_recursive( 't' );
configure_requires( 'Locale::Msgfmt' => 0.15, );
build_requires( 'Test::More' => 0, );
requires(
'JSON::XS' => 0,
'Locale::TextDomain' => 1.23,
'MooseX::Getopt' => 0,
'Text::Reflow' => 0,
'Zonemaster::Engine' => 3.0,
'Zonemaster::LDNS' => 2.0,
);
sub MY::postamble {
return <<'MAKE_FRAG';
$(MYEXTLIB): share/Makefile
cd share && $(MAKE) all
MAKE_FRAG
};
install_script 'zonemaster-cli';
install_share;
WriteAll;