use 5.008001; use ExtUtils::MakeMaker; my $tests = 't/Local/*.t'; if( ! $ENV{AUTOMATED_TESTING} ) { if ( prompt( "External tests require a running apache sling instance to test against!\n". 'Skip external tests?', 'y', ) =~ /^n/i ) { $tests = 't/Local/*.t t/External/*.t'; } } # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( NAME => 'Apache::Sling', VERSION_FROM => 'lib/Apache/Sling.pm', # finds $VERSION PREREQ_PM => {Net::LDAP => 0.34, Text::CSV => 1.06, HTTP::Request::Common => 1.28, LWP::UserAgent => 2.36, JSON => 2.07, Test::Exception => 0.27}, test => { TESTS => $tests }, ($] >= 5.005 ? ## Add these new keywords supported since 5.005 (ABSTRACT_FROM => 'lib/Apache/Sling.pm', # retrieve abstract from module AUTHOR => 'D. D. Parry ') : ()), );