forked from byrnereese/perl-File-Download
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.PL
54 lines (48 loc) · 1.43 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
46
47
48
49
50
51
52
53
54
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
'NAME' => 'File::Download',
'VERSION_FROM' => 'lib/File/Download.pm',
'ABSTRACT' => "A simple module for file downloading",
'AUTHOR' => 'Byrne Reese <[email protected]>',
'DISTNAME' => 'File-Download',
# 'LICENSE' => 'perl',
'LIBS' => [''], # e.g., '-lm'
'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
'INC' => '', # e.g., '-I/usr/include/other'
# 'PM' => {'Spec.pm' => '$(INST_LIBDIR)/File/Spec.pm',
# 'OS2.pm' => '$(INST_LIBDIR)/File/Spec/OS2.pm',
# 'Win32.pm' => '$(INST_LIBDIR)/File/Spec/Win32.pm',
# 'VMS.pm' => '$(INST_LIBDIR)/File/Spec/VMS.pm',
# 'Unix.pm' => '$(INST_LIBDIR)/File/Spec/Unix.pm',
# }
);
__END__
use inc::Module::Install;
name('File-Download');
abstract('A simple file download module');
author('Byrne Reese <[email protected]>');
version_from('lib/File/Download.pm');
license('perl');
no_index(directory => 't');
sign(0);
include('ExtUtils::AutoInstall');
requires('LWP::UserAgent');
requires('LWP::MediaTypes');
requires('URI');
requires('HTTP::Date');
features(
'Downloader' => [
-default => 1,
'LWP' => 1,
'LWP::UserAgent' => 1,
'LWP::MediaTypes' => 1,
'URI' => 1,
'HTTP::Date' => 1,
],
);
auto_include();
auto_install();
&WriteAll;
__END__