The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use 5.006;
use strict;
use warnings FATAL => 'all';
use ExtUtils::MakeMaker;

my %write_makefile_param = (
    NAME             => 'JIP::Daemon',
    AUTHOR           => q{Vladimir Zhavoronkov <flyweight@yandex.ru>},
    VERSION_FROM     => 'lib/JIP/Daemon.pm',
    ABSTRACT_FROM    => 'lib/JIP/Daemon.pm',
    LICENSE          => 'artistic_2',
    PL_FILES         => {},
    MIN_PERL_VERSION => 5.006,
    META_MERGE       => {
        'meta-spec'    => {version => 2},
        resources      => {
            license    => ['http://www.opensource.org/licenses/artistic-license-2.0'],
            bugtracker => {web => 'https://github.com/outtaspace/jip_daemon/issues'},
            repository => {
                type => 'git',
                url  => 'https://github.com/outtaspace/jip_daemon.git',
                web  => 'https://github.com/outtaspace/jip_daemon',
            },
        },
    },
    CONFIGURE_REQUIRES => {
        'ExtUtils::MakeMaker' => 0,
    },
    BUILD_REQUIRES => {},
    TEST_REQUIRES => {
        'File::Spec'    => 0,
        'File::Temp'    => 0,
        'Test::More'    => 0,
        'Carp'          => 0,
        'English'       => 0,
        'Mock::Quick'   => 0,
        'Capture::Tiny' => 0,
    },
    PREREQ_PM => {
        'Carp'            => 0,
        'POSIX'           => 0,
        'English'         => 0,
        'File::Spec'      => 0,
        'JIP::ClassField' => '0.05',
    },
    dist  => {COMPRESS => 'gzip -9f', SUFFIX => 'gz'},
    clean => {FILES => 'JIP-Daemon-*'},
);

unless (eval { ExtUtils::MakeMaker->VERSION(6.63_03); }) {
    $write_makefile_param{PREREQ_PM} = {
        %{ delete $write_makefile_param{'TEST_REQUIRES'} },
        %{ delete $write_makefile_param{'BUILD_REQUIRES'} },
    };
}

unless (eval { ExtUtils::MakeMaker->VERSION(6.52) }) {
    delete $write_makefile_param{'CONFIGURE_REQUIRES'};
}

WriteMakefile(%write_makefile_param);