package Cpanel::Easy::PHP5::Bz2;

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

our $easyconfig = {
    'name'      => 'Bz2',
    'ensurepkg' => [qw{bzip2-libs  bzip2-devel}],
    'url'       => 'http://www.php.net/manual/en/ref.bzip2.php',
    'step'      => {
        '0' => {
            'name'    => 'to config options',
            'command' => sub {
                my ($self) = @_;
                $self->add_to_configure( { '--with-bz2' => '' } );
                return ( 1, 'Ok' );
            },
        },
    },
};

1;
