Alien-Wslay
view release on metacpan or search on metacpan
share {
plugin qw'Download::GitHub github_user tatsuhiro-t github_repo wslay asset 1';
# plugin qw'Extract tar.gz';
plugin 'Build::Autoconf';
build ['%{configure}', '%{make}', '%{make} install'];
plugin 'Gather::IsolateDynamic';
gather sub {
my ($build) = @_;
my $prefix = $build->runtime_prop->{prefix};
$build->runtime_prop->{cflags} = "-I$prefix/include ";
$build->runtime_prop->{libs} = "-L$prefix/lib -lwslay "; }
};
lib/Alien/Wslay.pm view on Meta::CPAN
__END__
=head1 NAME
Alien::Wslay
=head1 SYNOPSIS
my $alien = Alien::Wslay->new;
my $cflags = $alien->cflags;
my $libs = $alien->libs;
my $dynamic_libs = $alien->dynamic_libs;
The above methods are inherited from L<Alien::Base>.
If C<libwslay1 libwslay-dev> packages installed on your system, L<Alien::Base> will attempt to use the system version.
Otherwise it will download a latest from L<Wslay|https://github.com/tatsuhiro-t/wslay>.
=head1 DESCRIPTION
( run in 0.258 second using v1.01-cache-2.11-cpan-94b05bcf43c )