forked from warthog9/syncdiff
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Build.PL
47 lines (44 loc) · 1.54 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
use strict;
use warnings;
use Module::Build;
my $builder = Module::Build->new(
module_name => 'SyncDiff',
dist_name => 'syncdiff',
dist_version => '0.1',
license => 'lgpl_2_1',
dist_author => 'warthog9@eaglescrag.net',
dist_abstract => 'SyncDiff(erent) is a statefull rsync-like file synchronizer. Think rsync + git + csync2 + unison',
requires => {
'Module::Build' => 0.4205,
'Moose' => 1.15,
'MooseX::Types::Moose' => 0,
'Parse::Lex' => 0,
'DBD::SQLite' => 1.27,
'Digest::SHA' => 5.47,
'Parse::Yapp::Driver' => 1.05,
'File::FnMatch' => 0.02,
'Try::Tiny' => 0.11,
'File::Rdiff' => 1.0,
'JSON::XS' => 2.27,
'AnyEvent' => 0,
'File::Next' => 0,
'File::Pid' => 0,
'Net::Address::IP::Local' => 0,
'IPC::ShareLite' => 0,
'MooseX::FileAttribute' => 0,
},
meta_merge => {
resources => {
repository => 'https://github.com/warthog9/syncdiff',
},
},
test => {TESTS => 't/*.t'}
);
if ( $^O =~ /linux/i ) {
$builder->requires('Linux::Inotify2' => 0);
}
elsif ( $^O =~ /bsd/i || $^O =~ /darwin/i ) {
$builder->requires('IO::KQueue' => 0);
}
$builder->create_build_script();
print "Have a great day!\n";