map.o tags.o palimg.o maskimg.o img8.o img16.o rotate.o
bmp.o tga.o color.o fills.o imgdouble.o limits.o hlines.o
imext.o scale.o rubthru.o render.o paste.o compose.o flip.o
- perlio.o);
+ perlio.o imexif.o);
my $lib_define = '';
my $lib_inc = '';
}
}
-# eval to prevent warnings about versions with _ in them
-my $MM_ver = eval $ExtUtils::MakeMaker::VERSION;
-if ($MM_ver > 6.06) {
+if (eval { ExtUtils::MakeMaker->VERSION('6.06'); 1 }) {
$opts{AUTHOR} = 'Tony Cook <tonyc@cpan.org>, Arnar M. Hrafnkelsson';
$opts{ABSTRACT} = 'Perl extension for Generating 24 bit Images';
}
-if ($MM_ver >= 6.46) {
+if (eval { ExtUtils::MakeMaker->VERSION('6.46'); 1 }) {
+ $opts{LICENSE} = "perl_5";
$opts{META_MERGE} =
{
- recommends =>
+ 'meta-spec' =>
{
- "Parse::RecDescent" => 0
+ version => "2",
+ url => "https://metacpan.org/pod/CPAN::Meta::Spec",
},
- license => "perl",
- dynamic_config => 1,
+ prereqs =>
+ {
+ runtime =>
+ {
+ recommends =>
+ {
+ "Parse::RecDescent" => 0
+ },
+ requires =>
+ {
+ 'Scalar::Util' => "1.00",
+ XSLoader => 0,
+ },
+ },
+ build =>
+ {
+ requires =>
+ {
+ XSLoader => 0,
+ },
+ },
+ test =>
+ {
+ requires =>
+ {
+ 'Test::More' => "0.99",
+ },
+ },
+ },
+ dynamic_config => 0,
no_index =>
{
directory =>
resources =>
{
homepage => "http://imager.perl.org/",
- repository => "git://git.imager.perl.org/imager.git",
- bugtracker => "http://rt.cpan.org/NoAuth/Bugs.html?Dist=Imager",
+ repository =>
+ {
+ url => "git://git.imager.perl.org/imager.git",
+ web => "http://git.imager.perl.org/imager.git",
+ type => "git",
+ },
+ bugtracker =>
+ {
+ web => "https://rt.cpan.org/Dist/Display.html?Name=Imager",
+ mailto => 'bug-Imager@rt.cpan.org',
+ },
},
};
}