use strict;
use warnings;
use ExtUtils::MakeMaker;

WriteMakefile(
              NAME                => 'CGI::Auto',
              AUTHOR              => q{José João Almeida <jj@di.uminho.pt>},
              VERSION_FROM        => 'lib/CGI/Auto.pm',
              ABSTRACT_FROM       => 'lib/CGI/Auto.pm',
              ($ExtUtils::MakeMaker::VERSION >= 6.3002
               ? ('LICENSE'=> 'perl')
               : ()),
              EXE_FILES           => ['bin/cgi-auto',
                                      'bin/cgi-auto-server.pl'],
              PL_FILES            => {},
              PREREQ_PM => {
                            # there is a previous version of CGI with some stupid bug
                            'CGI' => '3.48',
                            'Test::More' => 0,
                            'threads' => 0,
                            'IO::Socket::UNIX' => 0,
                            'Email::MIME::Creator' => 0,
                            'Email::Sender' => 0,
                            'File::Copy' => 0,
							'IO::All' => 0,
                            'Archive::Zip' => 0,
                            'constant' => 0,
                           },
              dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
              clean               => { FILES => 'CGI-Auto-*' },
             );
