/usr/local/CPAN/WWW-SearchBroker/Makefile.PL


use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
	NAME		=> 'WWW::SearchBroker',
	VERSION_FROM	=> 'lib/WWW/SearchBroker.pm', # finds $VERSION
	PREREQ_PM	=> {
				'Data::Serializer'	=> "0.17", # for comms
				'LWP::UserAgent'	=> 0, # for agent
				'WWW::Search'		=> 0, # for agent
				'Date::Manip'		=> 0, # for score
				'HTML::TreeBuilder'	=> 0, # for agent
				'News::NNTPClient'	=> 0, # for agent
				'Net::LDAP'		=> 0, # for agent
				'Mail::IMAPClient'	=> 0, # for agent
			},
	($] >= 5.005 ?    ## Add these new keywords supported since 5.005
		(ABSTRACT_FROM => 'lib/WWW/SearchBroker.pm', # retrieve abstract from module
		 AUTHOR     => 'Nathan Bailey <nate@cpan.org>') : ()),
	'dist'        => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
);


# Based on libwww-perl's Makefile.PL
package MY;

# What happens when we say 'make test'
sub test
{
    q(
TEST_VERBOSE=0

test: all
		$(FULLPERL) t/TEST $(TEST_VERBOSE)

);
}