use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( 'NAME' => 'Mail::Sendmail', 'VERSION_FROM' => 'Sendmail.pm', # finds $VERSION 'dist' => { COMPRESS=>"gzip", SUFFIX=>"gz" }, #Do these cause trouble to old versions of PPM ? Check! # 'PREREQ_PM' => { # 'Time::Local' => 0, # 'Socket' => 0, # 'Sys::Hostname' => 0 # }, ($] ge '5.005') ? ( 'AUTHOR' => 'Milivoj Ivkovic ', 'ABSTRACT' => 'Simple platform independent mailer', ## how can I get the version MakeMaker found ? # 'BINARY_LOCATION' => "http://alma.ch/perl/ppm/Mail-Sendmail-$VERSION-PPM.tar.gz", 'PPM_INSTALL_SCRIPT' => 'test.pl', # add install exe! (PPM_INSTALL_EXEC ?) ) : (), ); print <