1use 5.006; 2use strict; 3use ExtUtils::MakeMaker; 4 5my %prereq = ( 6 "Test::More" => 0, 7); 8 9WriteMakefile( 10 NAME => 'constant', 11 LICENSE => 'perl', 12 AUTHOR => 'Sebastien Aperghis-Tramoni <sebastien@aperghis.net>', 13 VERSION_FROM => 'lib/constant.pm', 14 ABSTRACT_FROM => 'lib/constant.pm', 15 INSTALLDIRS => ( $] < 5.011 ? 'perl' : 'site' ), 16 PL_FILES => {}, 17 PREREQ_PM => \%prereq, 18 META_MERGE => { 19 resources => { 20 repository => 'https://github.com/Perl/perl5.git', 21 license => 'http://dev.perl.org/licenses/', 22 homepage => 'https://metacpan.org/module/constant', 23 irc => 'irc://irc.perl.org/#p5p', 24 mailinglist => 'http://lists.perl.org/list/perl5-porters.html', 25 bugtracker => 'https://github.com/Perl/perl5/issues', 26 }, 27 }, 28 dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, 29 clean => { FILES => 'constant-*' }, 30); 31