line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Alien::Libbz2; |
2
|
|
|
|
|
|
|
|
3
|
5
|
|
|
5
|
|
676665
|
use strict; |
|
5
|
|
|
|
|
20
|
|
|
5
|
|
|
|
|
124
|
|
4
|
5
|
|
|
5
|
|
20
|
use warnings; |
|
5
|
|
|
|
|
8
|
|
|
5
|
|
|
|
|
95
|
|
5
|
5
|
|
|
5
|
|
73
|
use 5.008001; |
|
5
|
|
|
|
|
15
|
|
6
|
5
|
|
|
5
|
|
24
|
use base 'Alien::Base'; |
|
5
|
|
|
|
|
11
|
|
|
5
|
|
|
|
|
1842
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
# ABSTRACT: Build and make available bz2 |
9
|
|
|
|
|
|
|
our $VERSION = '0.24'; # VERSION |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub alien_helper |
15
|
|
|
|
|
|
|
{ |
16
|
|
|
|
|
|
|
return { |
17
|
0
|
|
|
0
|
|
0
|
bzip2 => sub { 'bzip2' }, |
18
|
0
|
|
|
0
|
1
|
0
|
}; |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
# TODO: this should eventually be correctly handled by |
22
|
|
|
|
|
|
|
# Alien::Build |
23
|
|
|
|
|
|
|
sub config { |
24
|
18
|
|
|
18
|
1
|
410174
|
my($class, $key) = @_; |
25
|
18
|
50
|
33
|
|
|
110
|
return 'bz2' if $key eq 'name' || $key eq 'ffi_name'; |
26
|
18
|
|
|
|
|
71
|
return $class->SUPER::config($key); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
__END__ |