version 0.73
[sepia.git] / Makefile.PL
blobfc8f4fa30fff4002c507727071303d486375df5c
1 use ExtUtils::MakeMaker;
2 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
3 # the contents of the Makefile that is written.
5 WriteMakefile(
6     'NAME'              => 'Sepia',
7     'VERSION_FROM'      => 'lib/Sepia.pm', # finds $VERSION
8     'PREREQ_PM'         => { 'Data::Dumper'    => 0,
9                              'B::Module::Info' => 0,
10                              'Scalar::Util'    => 0,
11                          },
12     ($] >= 5.005 ?    ## Add these new keywords supported since 5.005
13      (AUTHOR     => "Sean O'Rourke <seano\@cpan.org>",
14       ABSTRACT => 'Simple Emacs-Perl InterAction')
15      : ()),
16     LICENSE => 'perl'
19 print <<EOS;
20 NOTE: To actually use this package in a useful way, you probably need
21 to move the Emacs Lisp files somewhere.  Where will depend on your
22 installation.
23 EOS
25 eval { require PadWalker };
26 if ($@) {
27     print <<EOS;
29 Stack/lexical inspection requires PadWalker >= 1.0.
30 EOS
33 eval { require Lexical::Persistence };
34 if ($@) {
35     print <<EOS;
37 Strict mode requires Lexical::Persistence.
38 EOS