use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. my $checker = 0; print qq{ This build requires a C compiler by default - A slower, pure Perl version that does not require compilation of XS code can be used instead, by invoking this as perl Makefile.PL -noxs } unless grep { m/-noxs/ } @ARGV; eval q{ use Test::Pod; $checker = 1; }; unless ($checker) { print <can('signature_target') ? (SIGN => 1) : ()), 'NAME' => 'NetAddr::IP', 'VERSION_FROM' => 'IP.pm', # finds $VERSION 'PREREQ_PM' => { Test::More => 0, }, # e.g., Module::Name => 1.1 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 (ABSTRACT_FROM => 'IP.pm', AUTHOR => 'Luis E. Muñoz ') : ()), clean => { FILES => "*~ tmp*"}, ); WriteMakefile(%makeparms);