line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
64580
|
use alienfile; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
probe sub { $_[0]->runtime_prop->{ffi_name} = 'wslay' }; |
4
|
|
|
|
|
|
|
plugin qw'Probe::CBuilder libs -lwslay'; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
share { |
7
|
|
|
|
|
|
|
plugin qw'Download::GitHub github_user tatsuhiro-t github_repo wslay asset 1'; |
8
|
|
|
|
|
|
|
# plugin qw'Extract tar.gz'; |
9
|
|
|
|
|
|
|
plugin 'Build::Autoconf'; |
10
|
|
|
|
|
|
|
build ['%{configure}', '%{make}', '%{make} install']; |
11
|
|
|
|
|
|
|
plugin 'Gather::IsolateDynamic'; |
12
|
|
|
|
|
|
|
gather sub { |
13
|
|
|
|
|
|
|
my ($build) = @_; |
14
|
|
|
|
|
|
|
my $prefix = $build->runtime_prop->{prefix}; |
15
|
|
|
|
|
|
|
$build->runtime_prop->{cflags} = "-I$prefix/include "; |
16
|
|
|
|
|
|
|
$build->runtime_prop->{libs} = "-L$prefix/lib -lwslay "; } |
17
|
|
|
|
|
|
|
}; |