Alien-Wslay
view release on metacpan or search on metacpan
NAME
Alien::Wslay - Discover or download and install Wslay
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 Alien::Base.
If "libwslay1 libwslay-dev" packages installed on your system,
Alien::Base will attempt to use the system version. Otherwise it will
download a latest from Wslay <https://github.com/tatsuhiro-t/wslay>.
DESCRIPTION
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 - Discover or download and install 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 1.649 second using v1.01-cache-2.11-cpan-140bd7fdf52 )