--- AnyEvent/Makefile.PL 2008/04/24 08:38:13 1.8 +++ AnyEvent/Makefile.PL 2010/02/21 09:28:18 1.27 @@ -1,12 +1,22 @@ use ExtUtils::MakeMaker; -use 5.008; +use 5.008001; # AnyEvent perl event loop seems to work with 5.6, other modules not print < 'gzip -9v', SUFFIX => '.gz', }, + test => { TESTS => "t/*.t t/handle/*.t" }, NAME => "AnyEvent", VERSION_FROM => "lib/AnyEvent.pm", + PL_FILES => { "constants.pl.PL" => "constants.pl" }, + clean => { FILES => "constans.pl.pm" }, + PMLIBDIRS => ["lib"], + META_MERGE => { + recommends => { + "Net::SSLeay" => 1.33, + "JSON" => 2.09, + "JSON::XS" => 2.2, + "EV" => 3.05, + "Guard" => 1.02, + "Async::Interrupt" => 1.0, + } + }, ); +package MY; + +sub init_PM { + my ($self) = @_; + + $self->SUPER::init_PM; + $self->{PM}{"constants.pl"} = '$(INST_LIB)/AnyEvent/constants.pl'; +} + +