File: Makefile.PL

package info (click to toggle)
librose-db-object-perl 1:0.815-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 4,408 kB
  • ctags: 2,365
  • sloc: perl: 79,670; sql: 28; makefile: 7
file content (53 lines) | stat: -rwxr-xr-x 2,143 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
require 5.006;

use ExtUtils::MakeMaker;

my $MM_Version = $ExtUtils::MakeMaker::VERSION;

if($MM_Version =~ /_/) # dev version
{
  $MM_Version = eval $MM_Version;
  die $@  if($@);
}

WriteMakefile(NAME          => 'Rose::DB::Object',
              ABSTRACT_FROM => 'lib/Rose/DB/Object.pm',
              VERSION_FROM  => 'lib/Rose/DB/Object.pm',
              ($^O =~ /darwin/i ? (dist => { DIST_CP => 'cp' }) : ()), # Avoid Mac OS X ._* files
              PREREQ_PM =>
              {
                'Cwd'                  => 0,
                'Data::Dumper'         => '2.121', 
                'File::Path'           => 0,
                'File::Spec'           => 0,
                'DBI'                  => '1.40',
                'DateTime'             => 0,
                'Time::Clock'          => '1.00',
                'Test::More'           => 0,
                'Bit::Vector'          => 0,
                'Scalar::Util'         => 0,
                'List::MoreUtils'      => 0,
                'Math::BigInt'         => '1.77',
                'Clone'                => '0.29',
                #'Scalar::Util::Clone' => '0.04',
                'Rose::DateTime::Util' => '0.532',
                'Rose::Object'         => '0.854',
                'Rose::DB'             => '0.763',
              },
              clean => { FILES => "t/*.db" },
              AUTHOR => 'John Siracusa <siracusa@gmail.com>',
              ($MM_Version >= 6.48 ? (MIN_PERL_VERSION => '5.6.0') : ()),
              ($MM_Version >= 6.31 ? (LICENSE => 'perl') : ()),
              ($MM_Version <= 6.44 ? () : 
              (META_MERGE => 
              {
                resources =>
                {
                  license     => 'http://dev.perl.org/licenses/',
                  homepage    => 'http://rosecode.org',
                  bugtracker  => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=Rose-DB-Object',
                  repository  => 'https://github.com/siracusa/rose/tree/master/modules/Rose-DB-Object',
                  MailingList => 'http://groups.google.com/group/rose-db-object',
                },
              })));