use 5.006001;
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
    NAME              => 'VIPerlToolkit',
    VERSION_FROM      => 'lib/VMware/VIRuntime.pm', # finds $VERSION
    PREREQ_PM         => { Crypt::SSLeay => '0.51',
                           Data::Dumper => '2.102',
                           Class::MethodMaker => '2.08',
                           XML::LibXML => '1.58',
                           LWP => '5.8.05' }, 
    ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
      (AUTHOR         => 'VMware') : ()),
);

package MY;

# Ignore .svn directories with older versions of ExtUtils::MakeMaker that do 
# not do it by default.
sub libscan {
    my $path = $_[1];
    return '' if $path =~ /\B\.svn\b/;
    return $path;
}
