File: Makefile.PL

package info (click to toggle)
libflickr-upload-perl 1.60-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid, stretch
  • size: 240 kB
  • ctags: 14
  • sloc: perl: 476; makefile: 5
file content (31 lines) | stat: -rw-r--r-- 751 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
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      => 'lib/Flickr/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,
		'Flickr::API' => 1.09,
		'Pod::Usage' => 1,
		'Getopt::Long' => 1,
		'XML::Simple' => 2.0,
		'Net::OAuth' => 0.28,
	},
	'EXE_FILES' => [ 'flickr_upload' ],
	'clean' => { FILES => 'ChangeLog META.yml' },
	'depend' => {'create_distdir' => 'ChangeLog  META.yml'},
);