1use strict; 2use warnings; 3use ExtUtils::MakeMaker; 4 5WriteMakefile( 6 # META.yml source data 7 NAME => 'WWW::Myspace', 8 VERSION_FROM => 'lib/WWW/Myspace.pm', 9 ABSTRACT_FROM => 'lib/WWW/Myspace.pm', 10 AUTHOR => 'Grant Grueninger <grantg@cpan.org>', 11 LICENSE => 'perl', 12 13 PREREQ_PM => { 14 'Config::General' => 0, # MyBase.pm 15 'Contextual::Return' => 0, # For send_friend_request method 16 'Crypt::SSLeay' => 0.53, # WWW::Mechanize, for SSL access 17 # to myspace.com 18 'File::Spec::Functions' => 0, # Note: Forces File::Spec 0.7 or 19 # later. 20 'Locale::SubCountry' => 1.38, # FriendAdder.pm, 21 # cool_new_people 22 'Params::Validate' => 0, # MyBase.pm 23 'Spiffy' => 0.24, 24 'Time::ParseDate' => 100.010301, # Myspace.pm - last_login method 25 'URI::Escape' => 0, # Myspace.pm - find_friend 26 # method 27 'WWW::Mechanize' => 1.20, # Myspace.pm 28 'YAML' => 0.39, 29 30 # This is actually only a build dependency 31 'Test::More' => 0 32 }, 33 34 # MakeMaker arguments 35 PL_FILES => {}, 36 EXE_FILES => [qw( scripts/approve_friends 37 scripts/comment_myspace 38 scripts/message_group 39 )], 40# (MM->can('signature_target') ? (SIGN => 1) : ()), 41 42 # Parameters for Makefile targets 43 dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, 44 clean => { FILES => 'WWW-Myspace-*' } 45); 46