Skip to content

Commit

Permalink
update Makefile.PL
Browse files Browse the repository at this point in the history
  • Loading branch information
lestrrat committed Nov 11, 2009
1 parent 97be507 commit ebfb029
Showing 1 changed file with 25 additions and 7 deletions.
32 changes: 25 additions & 7 deletions Makefile.PL
@@ -1,24 +1,42 @@
sub author_tests { }
sub use_test_base { warn "You need to install Test::Base to run make test from git clone" }
sub readme_from { }
sub install_share { warn "You need to install Module::Install::Share to install from git clone" }
sub auto_set_repository { }

use inc::Module::Install;

name 'Morris';
all_from 'lib/Morris.pm';
requires 'AnyEvent';
requires 'AnyEvent::DBI';
requires 'AnyEvent::Handle';
requires 'AnyEvent::HTTP';
requires 'AnyEvent::IRC';
requires 'Config::Any';
requires 'Encode';
requires 'EV'; # want to make it plaggable?
requires 'File::Temp';
requires 'HTML::TreeBuilder';
requires 'Image::Size';
requires 'Moose' => '0.92';
requires 'MooseX::Getopt';
requires 'MooseX::SimpleConfig' => 0.04;
requires 'Text::MeCab';
requires 'URI';
requires 'XML::LibxML' => '1.61';
requires 'namespace::clean';

# optional dependencies
feature 'Morris::Plugin::QOTD requirements',
'Text::MeCab';

feature 'Morris::Plugin::PeekURL requirements',
'AnyEvent::HTTP',
'HTML::TreeBuilder',
'Image::Size',
'URI';

feature 'Morris::Plugin::YSearch requirements',
'AnyEvent::HTTP',
'URI',
'XML::LibXML' => '1.61';

install_script 'script/morris';
auto_install;
auto_include;
auto_set_repository;
WriteAll;

0 comments on commit ebfb029

Please sign in to comment.