use strict; use warnings; use ExtUtils::MakeMaker; # Normalize version strings like 6.30_02 to 6.3002, # so that we can do numerical comparisons on it. my $eumm_version = $ExtUtils::MakeMaker::VERSION; $eumm_version =~ s/_//; WriteMakefile( NAME => 'Email::SpoofingDemo::API::DNS', AUTHOR => q{Marc van der Wal }, VERSION_FROM => 'lib/Email/SpoofingDemo/API/DNS.pm', ABSTRACT => 'Email spoofing demo: REST API for DNS', ($eumm_version >= 6.3001 ? ('LICENSE'=> 'all-rights-reserved') : ()), PL_FILES => {}, PREREQ_PM => { 'Test::More' => 0, 'YAML' => 0, 'Dancer2' => 0.300000, }, dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, clean => { FILES => 'Email-SpoofingDemo-API-DNS-*' }, );