-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathMakefile.PL
45 lines (41 loc) · 1.23 KB
/
Makefile.PL
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
use 5.008007;
use strict;
use warnings;
use ExtUtils::MakeMaker;
# WriteMakefile arguments
my %args = (
NAME => 'g-cpan',
ABSTRACT => 'Install modules from CPAN in a portage friendly way',
AUTHOR => 'Michael Cummings <mcummings@gentoo.org>, Robin H. Johnson <robbat2@gentoo.org>',
VERSION_FROM => 'lib/App/gcpan.pm',
LICENSE => 'gpl',
EXE_FILES => ['bin/g-cpan'],
PREREQ_PM => {
'Config::Tiny' => 0,
'Log::Agent' => 0,
'Path::Tiny' => 0,
'Shell::EnvImporter' => 0,
'YAML' => 0,
# perl core deps
'File::Basename' => 0,
'File::Copy' => 0,
'File::Find' => 0,
'File::Path' => 0,
'File::Spec' => 0,
'IO::File' => 0,
'Memoize' => 0,
'Term::ANSIColor' => 0,
},
);
if ( ExtUtils::MakeMaker->VERSION >= 6.64 ) {
$args{TEST_REQUIRES} = {
'Test::More' => 0.94,
# for developer tests
#'Test::CPAN::Changes' => 0,
#'Test::EOL' => 0,
#'Test::Pod' => 1.40,
#'Test::Spelling' => 0.11,
#'Test::Strict' => 0,
};
}
WriteMakefile(%args);