line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Alien::bz2; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
139387
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
23
|
|
4
|
1
|
|
|
1
|
|
3
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
26
|
|
5
|
1
|
|
|
1
|
|
311
|
use Alien::Libbz2; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
9
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
# ABSTRACT: Build and make available bz2 |
8
|
|
|
|
|
|
|
our $VERSION = '0.22'; # VERSION |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub new |
12
|
|
|
|
|
|
|
{ |
13
|
0
|
|
|
0
|
1
|
0
|
my($class) = @_; |
14
|
0
|
|
|
|
|
0
|
bless {}, $class; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub cflags |
19
|
|
|
|
|
|
|
{ |
20
|
1
|
|
|
1
|
1
|
4327
|
my $cflags = Alien::Libbz2->cflags; |
21
|
1
|
50
|
|
|
|
287
|
return $cflags if ! wantarray; |
22
|
0
|
|
|
|
|
0
|
require Text::ParseWords; |
23
|
0
|
|
|
|
|
0
|
Text::ParseWords::shellwords($cflags); |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
sub libs |
28
|
|
|
|
|
|
|
{ |
29
|
1
|
|
|
1
|
1
|
7
|
my $libs = Alien::Libbz2->libs; |
30
|
1
|
50
|
|
|
|
131
|
return $libs if ! wantarray; |
31
|
0
|
|
|
|
|
0
|
require Text::ParseWords; |
32
|
0
|
|
|
|
|
0
|
Text::ParseWords::shellwords($libs); |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
sub dlls |
37
|
|
|
|
|
|
|
{ |
38
|
1
|
|
|
1
|
1
|
7
|
my @dlls = Alien::Libbz2->dynamic_libs; |
39
|
1
|
50
|
|
|
|
261
|
wantarray ? @dlls : $dlls[0]; |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
sub version |
44
|
|
|
|
|
|
|
{ |
45
|
1
|
|
|
1
|
1
|
245
|
Alien::Libbz2->version; |
46
|
|
|
|
|
|
|
} |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
sub install_type |
50
|
|
|
|
|
|
|
{ |
51
|
1
|
|
|
1
|
1
|
193
|
Alien::Libbz2->install_type; |
52
|
|
|
|
|
|
|
} |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
1; |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
__END__ |