File: Makefile.PL

package info (click to toggle)
libdatetime-format-sqlite-perl 0.11-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 120 kB
  • sloc: perl: 82; makefile: 2
file content (40 lines) | stat: -rw-r--r-- 880 bytes parent folder | download | duplicates (3)
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
# $Id: Makefile.PL 4363 2009-12-10 16:47:25Z cfaerber $

use 5.003;
use ExtUtils::MakeMaker;

WriteMakefile(
    'NAME'		=> 'DateTime::Format::SQLite',
    'VERSION_FROM'	=> 'lib/DateTime/Format/SQLite.pm', # finds $VERSION
    'PREREQ_PM'		=> {
	'DateTime' => 0.10,
	'DateTime::Format::Builder' => 0.60,
    },

    $] < 5.005 ? () : (
	'ABSTRACT_FROM'	=> 'lib/DateTime/Format/SQLite.pm', # retrieve abstract from module
	'AUTHOR'	=> 'Claus Faerber <CFAERBER@cpan.org>',
	'LICENSE'	=> 'perl',
    ),

    $ExtUtils::MakeMaker::VERSION < 6.18 ? () : (
	'SIGN'		=> 1,
    ),

    $ExtUtils::MakeMaker::VERSION < 6.45 ? () : (
	'META_MERGE'	=> { 
	    'requires'	    => { 'perl'	=> 5.003, },
#	    'recommends'    => { 'perl'	=> 5.008003, },
        },
    ),
);

sub MY::postamble {
return <<EOF
release: release-cpan

release-cpan:
	cpan-upload \$(DISTVNAME).tar\$(SUFFIX)

EOF
}