Alien-SNMP
view release on metacpan or search on metacpan
alien_extra_site_config => {
CFLAGS => $ENV{CFLAGS},
LDFLAGS => $ENV{LDFLAGS},
},
# Not using FFI, default_store library only dynamic and needed for XS
alien_isolate_dynamic => 0,
alien_name => 'netsnmp',
# Headers referenced as net-snmp/xxx.h, autodiscovery appends net-snmp
alien_provides_cflags => '-I${pcfiledir}/include',
alien_provides_libs => '-lnetsnmp',
alien_repository => {
protocol => 'https',
host => 'github.com',
location => '/netdisco/upstream-sources/blob/master/net-snmp/',
exact_filename => 'net-snmp-5.9.4.tar.gz?raw=true',
},
alien_stage_install => 0,
build_requires => {
"Alien::Base" => '0.020',
--with-defaults
METHODS
bin_dir
my $bin_dir = Alien::SNMP->bin_dir;
Returns the location of the net-snmp apps (snmptranslate, etc).
cflags
my $cflags = Alien::SNMP->cflags;
Returns the C compiler flags.
libs
my $libs = Alien::SNMP->libs;
Returns the linker flags.
SEE ALSO
Alien
Alien::Base
SNMP
The Perl5 'SNMP' Extension Module for the Net-SNMP SNMP package.
lib/Alien/SNMP.pm view on Meta::CPAN
=back
=head1 METHODS
=head2 bin_dir
my $bin_dir = Alien::SNMP->bin_dir;
Returns the location of the net-snmp apps (snmptranslate, etc).
=head2 cflags
my $cflags = Alien::SNMP->cflags;
Returns the C compiler flags.
=head2 libs
my $libs = Alien::SNMP->libs;
Returns the linker flags.
=head1 SEE ALSO
=over 4
=item L<Alien>
=item L<Alien::Base>
=item L<SNMP>
( run in 0.254 second using v1.01-cache-2.11-cpan-94b05bcf43c )