From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

use strict;
my $dist = {
COMPRESS => 'gzip -9f', # Compress tarball using gzip
SUFFIX => 'gz', # File suffix for tarball
};
if($^O eq 'darwin') {
$dist->{'TAR'} = 'gtar';
}
WriteMakefile(
NAME => 'Config::Abstraction',
VERSION_FROM => 'lib/Config/Abstraction.pm', # Path to your module
AUTHOR => 'Nigel Horne <njh@nigelhorne.com>',
ABSTRACT_FROM => 'lib/Config/Abstraction.pm',
((defined($ExtUtils::MakeMaker::VERSION) && ($ExtUtils::MakeMaker::VERSION >= 6.3002))
? ('LICENSE'=> 'GPL')
: ()),
MIN_PERL_VERSION => '5.10.0',
PREREQ_PM => {
'Carp' => 0,
'Config::IniFiles' => 0,
'JSON::MaybeXS' => 0,
'YAML::XS' => 0,
'XML::Simple' => 0,
'File::Slurp' => 0,
'File::Spec' => 0,
'Hash::Merge' => 0,
'Hash::Flatten' => 0,
},
META_MERGE => {
resources => {
},
}, TEST_REQUIRES => {
'Test::DescribeMe' => 0,
'Test::Needs' => 0,
'Test::TempDir::Tiny' => 0,
}, clean => { FILES => 'Config-Abstraction-*' },
dist => $dist
);