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