Use Math::BigInt for describe_bytestring address display
[p5sagit/Devel-PeekPoke.git] / Makefile.PL
1 use warnings;
2 use strict;
3
4 use 5.006;
5
6 use inc::Module::Install '1.01';
7
8 my $use_pp = $ENV{DEVEL_PEEK_POKE_USE_PP} || ! can_cc();
9
10 $use_pp = 1; # FIXME - if someone writes the XS, this will no longer be true
11
12 if ($use_pp and ($] =~ /^5.(\d{3})/)[0] % 2) {
13   die "Instalation will need Devel::PeekPoke::PP, which does not work (by design) on development perls ($])\n";
14 }
15
16 # the XS version (when written) should work fine on 5.6
17 perl_version $use_pp ? '5.008001' : '5.006';
18
19 test_requires 'Test::More'      => '0.88';  # done testing
20 test_requires 'Test::Exception' => '0.31';  # non-segfaulting caller()
21
22 all_from 'lib/Devel/PeekPoke.pm';
23
24 homepage 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Devel-PeekPoke.git';
25 resources 'IRC'         => 'irc://irc.perl.org/#pp';
26 resources 'license'     => 'http://dev.perl.org/licenses/';
27 resources 'repository'  => 'git://git.shadowcat.co.uk/p5sagit/Devel-PeekPoke.git';
28 resources 'bugtracker'  => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=Devel-PeekPoke';
29
30 WriteAll;