The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

use 5.006;
use ExtUtils::MakeMaker;

my $EUMM_VERSION = eval $ExtUtils::MakeMaker::VERSION;

WriteMakefile(
    'NAME'		=> 'Devel::Hook',
    'VERSION_FROM'	=> 'lib/Devel/Hook.pm', 
    'PREREQ_PM'		=> {
        'strict'            => 0,
        'warnings'          => 0,
        'XSLoader'          => 0,

        # test requires
        'Test::More'        => 0,
    }, 
   'ABSTRACT_FROM'      => 'lib/Devel/Hook.pod',
   'AUTHOR'             => 'Adriano Ferreira <ferreira@cpan.org>',

  ( $EUMM_VERSION >= 6.31 ? (
       'LICENSE'            => 'perl',
  ) : () ),
  ( $EUMM_VERSION >= 6.4501 ? (
        'META_MERGE' => {
            resources => {
                repository => 'http://github.com/aferreira/cpan-WWW-CPAN',
            },
            recommends => {
                'Test::Pod'           => 1.18,
                'Test::Pod::Coverage' => 1.04,
            },
        },
  ) : () ),

    # XS related stuff
    'DEFINE'		=> '', # e.g., '-DHAVE_SOMETHING'
    'INC'		=> '-I.', # e.g., '-I. -I/usr/include/other'
    'OPTIMIZE' => '-g',
    'PMLIBDIRS' => ['lib'],
);