package Cpanel::Easy::PHP5::SNMP;

# cpanel - Cpanel/Easy/PHP5/5_38/SNMP.pm          Copyright(c) 2015 cPanel, Inc.
#                                                           All rights Reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited

use strict;

our $easyconfig = {
    'name'      => 'SNMP',
    'note'      => 'Requires the SNMP Dev libraries to be installed first!!!',
    'url'       => 'http://www.php.net/manual/en/ref.snmp.php',
    'ensurepkg' => [ 'snmp-devel', 'net-snmp', 'net-snmp-devel' ],
    'step'      => {
        '0' => {
            'name'    => 'to config options',
            'command' => sub {
                my ($self) = @_;
                $self->add_to_configure( { '--with-snmp' => '', } );
                return ( 1, 'Ok' );
            },
        },
    },
};

1;
