Config-Plugin-Tiny

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

use ExtUtils::MakeMaker;

# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.

# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.

my(%params) =
(
	($] ge '5.005') ?
	(
		AUTHOR		=> 'Ron Savage (ron@savage.net.au)',
		ABSTRACT	=> 'A plugin which uses Config::Tiny',
	) : (),
	clean =>
	{
		FILES => 'blib/* Makefile MANIFEST Config-Plugin-Tiny*'
	},
	dist =>
	{
		COMPRESS	=> 'gzip',
		SUFFIX		=> 'gz'
	},
	BUILD_REQUIRES =>
	{
		# Skip on Windows to avoid breaking ActivePerl PPMs
		# 0.47 means 5.6.2 or newer, which everyone on Win32 has.
		($^O eq 'MSWin32' ? () : ('Test::More' => '0.47') ),
	},
	DISTNAME	=> 'Config-Plugin-Tiny',
	LICENSE		=> 'perl',
	NAME		=> 'Config::Plugin::Tiny',
	PL_FILES	=> {},
	PREREQ_PM	=>
	{
		'Carp'			=> 1.01,
		'Config::Tiny'	=> 2.14,
		'strict'		=> 1.03,
		'vars'			=> 1.01,
		'warnings'		=> 1.03,
	},
	TEST_REQUIRES =>
	{
		'Test::More'	=> 1.001002,
	},
	VERSION_FROM	=> 'lib/Config/Plugin/Tiny.pm',
	INSTALLDIRS		=> 'site',
	EXE_FILES		=> [],
);

if ( ($ExtUtils::MakeMaker::VERSION =~ /^\d\.\d\d$/) && ($ExtUtils::MakeMaker::VERSION > 6.30) )
{
	$params{LICENSE} = 'perl';
}

if ($ExtUtils::MakeMaker::VERSION ge '6.46')
{
	$params{META_MERGE} =
	{
		'meta-spec' =>
		{
			version => 2,
		},
		resources   =>
		{
			bugtracker =>
			{
				web => 'https://github.com/ronsavage/Config-Plugin-Tiny/issues',
			},
			license    => 'http://opensource.org/licenses/Perl',



( run in 0.720 second using v1.01-cache-2.11-cpan-a49fcb8fa48 )