-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.PL
47 lines (43 loc) · 1.12 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
use ExtUtils::MakeMaker;
rename('README.md','README') if -f 'README.md';
WriteMakefile(
NAME => 'Image::Animated::JPEG',
AUTHOR => 'Clipland (clipland@cpan.org)',
ABSTRACT_FROM => 'lib/Image/Animated/JPEG.pm',
VERSION_FROM => 'lib/Image/Animated/JPEG.pm',
LICENSE => 'gpl', # as close as it gets to GPL3+AL2
PREREQ_PM => {
"IO::String" => 0,
"Image::MetaData::JPEG" => 0,
"Data::Dumper" => 0,
"IPC::System::Simple" => 0,
},
TEST_REQUIRES => {
'Test::More' => 0,
'Test::Deep' => 0,
},
EXE_FILES => [
'bin/makeajpeg',
'bin/playajpeg',
'bin/gif2ajpeg',
'bin/ajpeg2gif',
'bin/ajpegtran'
],
META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
repository => {
type=> 'git',
url => 'https://github.com/clipland/animated-jpeg.git',
web => 'https://github.com/clipland/animated-jpeg',
},
},
},
dist => {
POSTOP => 'perl -e "rename(\'README\',\'README.md\') if -f \'README\'"',
},
realclean => {
POSTOP => 'perl -e "rename(\'README\',\'README.md\') if -f \'README\'"',
},
MIN_PERL_VERSION => 5.004, # nothing special in this dist, let's just make CPANTS happier
);