use 5.010001;

use strict;
use warnings;
use ExtUtils::MakeMaker;

WriteMakefile(
    NAME         => 'Illumos::SMF',
    VERSION_FROM => 'lib/Illumos/SMF.pm',
    ABSTRACT     => 'A Perl Module to administrate Illumos SMF.',
    AUTHOR       => 'Dominik Hassler <hadfl@cpan.org>',
    LICENSE      => 'gpl_3',
    CONFIGURE_REQUIRES => {
        'ExtUtils::MakeMaker' => 0,
    },
    BUILD_REQUIRES   => {
        'Test::More' => 0,
    },
    dist  => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
    clean => { FILES => 'Illumos-SMF-*' },
    META_MERGE   => {
        requires  => {perl => '5.010001'},
        resources => {
            license     => 'http://opensource.org/licenses/GPL-3.0',
            repository  => 'https://github.com/hadfl/Illumos-SMF',
            bugtracker  => 'https://github.com/hadfl/Illumos-SMF/issues'
        },
        no_index => {directory => ['t', 'setup']}
    },
    test => {TESTS => 't/*.t'}
);