/usr/local/CPAN/Imager-Graph/Makefile.PL
#!perl -w
use strict;
require 5.005;
use ExtUtils::MakeMaker;
my %opts;
# eval to prevent warnings about versions with _ in them
my $MM_ver = eval $ExtUtils::MakeMaker::VERSION;
if ($MM_ver > 6.06) {
$opts{AUTHOR} = 'Tony Cook <tony@develop-help.com>';
$opts{ABSTRACT} = 'Draws good looking pie graphs';
}
if ($MM_ver >= 6.31) {
$opts{LICENSE} = 'perl';
}
WriteMakefile(
%opts,
'NAME' => 'Imager::Graph',
'VERSION_FROM' => 'Graph.pm', # finds $VERSION
PREREQ_PM =>
{
Imager=>'0.75',
'Test::More' => 0.47
},
clean => { FILES=>'testout' },
);