]> git.imager.perl.org - imager-graph.git/blob - Makefile.PL
- add a new style "primary" which is primary_red with a light grey
[imager-graph.git] / Makefile.PL
1 #!perl -w
2 use strict;
3 require 5.005;
4 use ExtUtils::MakeMaker;
5 my %opts;
6 # eval to prevent warnings about versions with _ in them
7 my $MM_ver = eval $ExtUtils::MakeMaker::VERSION;
8 if ($MM_ver > 6.06) {
9   $opts{AUTHOR} = 'Tony Cook <tony@develop-help.com>';
10   $opts{ABSTRACT} = 'Draws good looking pie graphs';
11 }
12 if ($MM_ver >= 6.31) {
13   $opts{LICENSE} = 'perl';
14 }
15
16 WriteMakefile(
17               %opts,
18               'NAME'          => 'Imager::Graph',
19               'VERSION_FROM'  => 'Graph.pm', # finds $VERSION
20               PREREQ_PM       => 
21               { 
22                Imager=>'0.61',
23                'Test::More' => 0.47
24               },
25               clean => { FILES=>'testout' },
26 );