File: Makefile.PL

package info (click to toggle)
libmail-box-pop3-perl 3.008-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 228 kB
  • sloc: perl: 999; makefile: 2
file content (114 lines) | stat: -rw-r--r-- 2,260 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
use ExtUtils::MakeMaker;

require 5.016;

use warnings;
use strict;

# Use command 'oodist' to produce your whole software release.
my $version = '3.008';
my $git      = "https://github.com/markov2/perl5-Mail-Box-POP3";
my $publish  = "../public_html/mail-box-pop3";
my $homepage = "http://perl.overmeer.net/CPAN/";

my %oodist   = (
	oodoc_version => 3.05,
	first_year    => 2001,
	email         => "markov\@cpan.org",

	include  => [
		'../Mail-Box',
 		'../Mail-Message',
 		'../Mail-Transport',
	],

	use      => [
	],

	parser   => {
		syntax         => 'markov',
		skip_links     => [
		],
		pmhead         => undef,
	},

	tests    => {
	},

	release  => {
		publish        => "$publish/source",
	},

	raw      => {
		publish        => "$publish/raw",
	},

	generate => [ {
		# Add real pod to the releases
		format         => 'pod3',
		podtail        => undef,
	  },
 	  # You may add HTML formatters here.
 		  # You may add exporter configurations here.
	],
);

my %requires = (
	'Carp'            => 0,
	'Digest::MD5'     => 0,
	'File::Basename'  => 0,
	'File::Spec'      => 0,
	'IO::Socket'      => 0,
	'IO::Socket::IP'  => 0,
	'List::Util'      => 0,
	'Socket'          => 0,

	'Mail::Box::FastScalar'        => '3, <4.0',
	'Mail::Box::Net'               => '3, <4.0',
	'Mail::Box::Test'              => '3, <4.0',
	'Mail::Box::Parser::Perl'      => '3, <4.0',
	'Mail::Transport::Receive'     => '3, <4.0',
	'Mail::Reporter'               => '3, <4.0',
);

WriteMakefile
	NAME       => 'Mail::Box::POP3',
	VERSION    => $version,
	AUTHOR     => 'Mark Overmeer',
	ABSTRACT   => 'Mail::Box connector via POP3',
	LICENSE    => 'perl_5',

	META_MERGE => {
		'meta-spec' => { version => 2 },
		resources   => {
			repository => {
				type => 'git',
				url  => "$git.git",
				web  => $git,
			},
			bugtracker => {
				web  => "$git/issues",
			},
			homepage => $homepage,
			license  => [ 'http//dev.perl.org/licenses/' ],
		},
		prereqs => {
			runtime => {
				requires => \%requires,
			},
			develop => {
				requires => {
					'OODoc' => '3.00',
				},
			},
			test => {
				requires => {
					'Test::More' => 1.00,
					'Test::Pod'  => 1.00,
				},
			},
		},

		# You may use multiple set-ups, see "oodist --make"
		x_oodist => \%oodist,
	};