remove extraneous Makefile.PL bits since we have no deps
[p5sagit/Devel-GlobalDestruction-XS.git] / Makefile.PL
1 use strict;
2 use warnings;
3
4 require 5.006;
5
6 use ExtUtils::MakeMaker;
7
8 my $mymeta_works = eval { ExtUtils::MakeMaker->VERSION('6.5707'); 1 };
9 my $mymeta = $mymeta_works || eval { ExtUtils::MakeMaker->VERSION('6.5702'); 1 };
10
11 my %WriteMakefileArgs = (
12   NAME                => 'Devel::GlobalDestruction::XS',
13   AUTHOR              => 'Yuval Kogman <nothingmuch@woobling.org>',
14   VERSION_FROM        => 'lib/Devel/GlobalDestruction/XS.pm',
15   ABSTRACT_FROM       => 'lib/Devel/GlobalDestruction/XS.pm',
16   LICENSE             => 'perl',
17   INSTALLDIRS         => 'site',
18   PL_FILES            => { },
19   MIN_PERL_VERSION    => '5.006',
20   META_ADD => {
21     resources => {
22       repository => 'git://git.shadowcat.co.uk/p5sagit/Devel-GlobalDestruction-XS.git',
23       bugtracker => 'http://rt.cpan.org/Public/Dist/Display.html?Name=Devel-GlobalDestruction-XS',
24     },
25     requires => { },
26     dynamic_config => 0,
27   },
28   ($mymeta and !$mymeta_works) ? ( 'NO_MYMETA' => 1 ) : (),
29 );
30
31 WriteMakefile(%WriteMakefileArgs);