File: Makefile.PL

package info (click to toggle)
maatkit 6652-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,236 kB
  • ctags: 4,493
  • sloc: perl: 91,095; cpp: 169; sh: 75; makefile: 39
file content (23 lines) | stat: -rw-r--r-- 628 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
use ExtUtils::MakeMaker;

WriteMakefile(
    NAME         => 'maatkit',
    VERSION_FROM => 'maatkit.pod',
    EXE_FILES    => [ <bin/mk-*> ],
    MAN3PODS     => {}, # No man(3) pages, all man(1).
    MAN1PODS     => {
      'maatkit.pod' => 'blib/man1/maatkit.1p',
      map {
         (my $name = $_) =~ s/^bin.//;
         $_ => "blib/man1/$name.1p";
      } <bin/mk-*>
    },
    PREREQ_PM    => {
        DBI           => 1.13,
        DBD::mysql    => 1.0,
    },
);

eval { require Time::HiRes; };
print "Time::HiRes is needed by some utilities. Until it is installed, "
   . "some commands will not function.\n" if $@;