1# A template for Makefile.PL used by Arena Networks. 2# - Set the $PACKAGE variable to the name of your module. 3# - Set $LAST_API_CHANGE to reflect the last version you changed the API 4# of your module. 5# - Fill in your dependencies in PREREQ_PM 6# Alternatively, you can say the hell with this and use h2xs. 7 8use ExtUtils::MakeMaker; 9# See lib/ExtUtils/MakeMaker.pm for details of how to influence 10# the contents of the Makefile that is written. 11 12$PACKAGE = 'Class::WhiteHole'; 13($PACKAGE_FILE) = $PACKAGE =~ /(?:\::)?([^:]+)$/; 14$LAST_API_CHANGE = 0; 15 16eval "require $PACKAGE"; 17 18unless ($@) { # Make sure we did find the module. 19 print <<"CHANGE_WARN" if ${$PACKAGE.'::VERSION'} < $LAST_API_CHANGE; 20 21NOTE: There have been API changes between this version and any older 22than version $LAST_API_CHANGE! Please read the Changes file if you 23are upgrading from a version older than $LAST_API_CHANGE. 24 25CHANGE_WARN 26} 27 28WriteMakefile( 29 NAME => $PACKAGE, 30 VERSION_FROM => "lib/Class/$PACKAGE_FILE.pm", # finds $VERSION 31 PREREQ_PM => { }, 32 'dist' => { COMPRESS => 'gzip -9', 33 SUFFIX => '.gz', 34 DIST_DEFAULT => 'all tardist', 35 }, 36); 37