From c10171e714204ed5e3c61effe1a50949cb51107b Mon Sep 17 00:00:00 2001 From: shelling Date: Wed, 19 Aug 2009 22:51:47 +0800 Subject: [PATCH] edit Makefile.PL. edit PREREQ_PM mostly --- Makefile.PL | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index c5af954..c20f1b9 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -4,9 +4,16 @@ use ExtUtils::MakeMaker; # the contents of the Makefile that is written. WriteMakefile( NAME => 'Posterous', - VERSION_FROM => 'lib/Posterous.pm', # finds $VERSION - PREREQ_PM => {}, # e.g., Module::Name => 1.1 - ($] >= 5.005 ? ## Add these new keywords supported since 5.005 - (ABSTRACT_FROM => 'lib/Posterous.pm', # retrieve abstract from module - AUTHOR => '許 家瑋 ') : ()), + VERSION_FROM => 'lib/Posterous.pm', + ABSTRACT_FROM => 'lib/Posterous.pm', + PREREQ_PM => { + 'LWP::UserAgent' => 0, + 'HTTP::Request' => 0, + 'Rubyish::Attribute' => 0, + 'MIME::Base64' => 0, + 'Attribute::Protected' => 0, + 'XML::Simple' => 0, + }, + AUTHOR => 'shelling ', + clean => { FILES => "Posterous-*" }, );