-
Notifications
You must be signed in to change notification settings - Fork 2
/
Build.PL
42 lines (38 loc) · 1.26 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
use warnings;
use Module::Build;
my $builder = Module::Build->new(
dist_name => 'wanfaild',
license => 'gpl',
dist_author => 'Steven Pritchard <[email protected]>',
dist_version_from => 'wanfaild',
requires => {
strict => 0,
warnings => 0,
English => 0,
File::Basename => 0,
FileHandle => 0,
Getopt::Long => 0,
List::Util => '1.03',
Math::BigInt => 0,
#Net::DBus => 0,
Net::Ping => 0,
Net::SMTP => 0,
Pod::Usage => 0,
POSIX => 0,
Proc::Daemon => 0,
Socket => 0,
Sys::Syslog => 0,
Test::More => 0,
Test::Pod => '1.00',
YAML::Tiny => 0,
},
script_files => [
'wanfaild',
'wanfaild-notify-admin',
],
init_files => { 'wanfaild.init' => 'init/wanfaild' },
install_path => { 'init' => '/etc/init.d' },
);
$builder->add_build_element('init');
$builder->create_build_script();
# vi: set ai et: