line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Module::Build::Win32PingICMP; |
2
|
1
|
|
|
1
|
|
17160
|
use Module::Build; |
|
1
|
|
|
|
|
155041
|
|
|
1
|
|
|
|
|
170
|
|
3
|
|
|
|
|
|
|
@ISA = qw(Module::Build); |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
sub ppm_name { |
6
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
7
|
0
|
|
|
|
|
|
mkdir('MSWin32-x86-multi-thread'); |
8
|
0
|
|
|
|
|
|
return 'MSWin32-x86-multi-thread/' . $self->dist_dir; |
9
|
|
|
|
|
|
|
} |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub ACTION_ppmzip { |
12
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
13
|
|
|
|
|
|
|
|
14
|
0
|
|
|
|
|
|
$self->depends_on('ppmdist'); |
15
|
0
|
|
|
|
|
|
my $ppmzip = $self->dist_dir().'.ppm.zip'; |
16
|
0
|
|
|
|
|
|
my $ppm_name = $self->ppm_name(); |
17
|
0
|
|
|
|
|
|
unlink($ppmzip); |
18
|
0
|
|
|
|
|
|
system("zip -9 $ppmzip *.ppd $ppm_name.tar.gz"); |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |