-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile.PL
More file actions
30 lines (26 loc) · 729 Bytes
/
Copy pathMakefile.PL
File metadata and controls
30 lines (26 loc) · 729 Bytes
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
use ExtUtils::MakeMaker;
sub MY::postamble {
return <<END;
ChangeLog: Makefile
git log --pretty=fuller --decorate . >ChangeLog
META.yml: Makefile
touch META.yml
END
}
WriteMakefile(
NAME => 'Flickr::Upload',
VERSION_FROM => 'Upload.pm',
ABSTRACT => 'Module for uploading images to flickr.com',
AUTHOR => 'Christophe Beauregard <cpb@cpan.org>',
PREREQ_PM => {
'LWP::UserAgent' => 1,
'HTTP::Request::Common' => 1,
'XML::Parser::Lite::Tree' => 0.03,
'Flickr::API' => 0.07,
'Pod::Usage' => 1,
'Getopt::Long' => 1,
},
'EXE_FILES' => [ 'flickr_upload' ],
'clean' => { FILES => 'ChangeLog META.yml' },
'depend' => {'create_distdir' => 'ChangeLog META.yml'},
);