version 0.94_01
[sepia.git] / Makefile.PL
blob9e7874da3c07f07bd71d8a675d54b86af88d0df6
1 use ExtUtils::MakeMaker;
2 use 5.006;                      # for "no warnings" -- sorry!
3 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
4 # the contents of the Makefile that is written.
6 WriteMakefile(
7     'NAME'              => 'Sepia',
8     'VERSION_FROM'      => 'lib/Sepia.pm', # finds $VERSION
9     'PREREQ_PM'         => { 'Data::Dumper'    => 0,
10                              'B::Module::Info' => 0,
11                              'Scalar::Util'    => 0,
12                          },
13     AUTHOR     => "Sean O'Rourke <seano\@cpan.org>",
14     ABSTRACT => 'Simple Emacs-Perl InterAction',
15     LICENSE => 'perl',
18 print <<EOS;
19 NOTE: To actually use this package in a useful way, you probably need
20 to move the Emacs Lisp files somewhere.  Where will depend on your
21 installation.
22 EOS
24 sub test_for
26     my $mod = shift;
27     eval "require $mod";
28     if ($@) {
29         print "@_\n";
30     }
33 test_for 'PadWalker', 'Stack/lexical inspection requires PadWalker >= 1.0.';
34 test_for 'Lexical::Persistence', 'Strict mode requires Lexical::Persistence.';
35 test_for 'Module::CoreList', 'sepia-core-version requires Module::CoreList.';
36 test_for 'Devel::Size', 'Printing variable sizes requires Devel::Size.';