use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
    'NAME'		=> 'Parp',
    'VERSION_FROM'	=> 'parp', # finds $VERSION
    'PREREQ_PM'		=> {
        Error                 => 0.14,
        Digest::MD5           => 2,
        Mail::Address         => 1.17,
        Mail::Box             => 1.3,
        Mail::Field           => 1.08,
        Mail::Field::Received => 0.23,
        Mail::Internet        => 1.33,
        Net::DNS              => 0.12,
        Proc::Daemon          => 0.02,
    },
    # stop ExtUtils::MakeMaker trying to do XS nonsense
    'C'                 => [ ], 
);

sub MY::postamble {
  <<'EOF';
ChangeLog:
	rcs2log -u "adam	Adam Spiers	adam@spiers.net" > $@
	chmod 644 $@

parp-inject:
EOF
}
