Alien-SNMP-MIBDEV

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

my %module_build_args = (
  alien_autoconf_with_pic => 0,
  alien_build_commands =>
    ["%x -I../../inc -MMy::AlienPatch -e alien_patch", $conf_cmd, 'make'],

  # 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.8.tar.gz?raw=true',
  },
  alien_stage_install => 0,
  build_requires      => {
    "Alien::Base"        => '0.020',

README  view on Meta::CPAN

    "--with-perl-modules"
    "--disable-embedded-perl"
    "--with-defaults"

METHODS
  bin_dir
     my $bin_dir = Alien::SNMP::MIBDEV->bin_dir;

    Returns the location of the net-snmp apps (snmptranslate, etc).

  cflags
     my $cflags = Alien::SNMP::MIBDEV->cflags;

    Returns the C compiler flags.

  libs
     my $libs = Alien::SNMP::MIBDEV->libs;

    Returns the linker flags.

SEE ALSO
    Alien
    Alien::Base
    Alien::SNMP
    Alien::SNMP::MAXTC
    SNMP
        The Perl5 'SNMP' Extension Module for the Net-SNMP SNMP package.
        Depends on libnetsnmp and the corresponding version is installed
        along with the C library.

lib/Alien/SNMP/MIBDEV.pm  view on Meta::CPAN

=back

=head1 METHODS

=head2 bin_dir

 my $bin_dir = Alien::SNMP::MIBDEV->bin_dir;

Returns the location of the net-snmp apps (snmptranslate, etc).

=head2 cflags

 my $cflags = Alien::SNMP::MIBDEV->cflags;

Returns the C compiler flags.

=head2 libs

 my $libs = Alien::SNMP::MIBDEV->libs;

Returns the linker flags.

=head1 SEE ALSO

=over 4

=item L<Alien>

=item L<Alien::Base>

=item L<Alien::SNMP>



( run in 0.339 second using v1.01-cache-2.11-cpan-94b05bcf43c )