--format help: Use mp4_360p instead
[clive.git] / Makefile.PL
blob1a5e9d302465758ca5794414f49e72b36a6e9b98
1 use warnings;
2 use strict;
4 use 5.008009;
5 use ExtUtils::MakeMaker;
7 WriteMakefile(
8     'NAME' => 'clive',
9     ( $[ >= 5.8 )
10     ? ( 'AUTHOR'     => 'Toni Gundogdu <legatvs at sign gmail com>',
11         'ABSTRACT' => 'Command line video download tool'
12         )
13     : (),
14     'VERSION_FROM' => 'bin/clive',
15     'EXE_FILES' => ['bin/clive'],
16     'PREREQ_PM' => {
17 # Earlier versions may work.
18 'Getopt::ArgvFile' => 1.11, # <http://search.cpan.org/perldoc?Getopt::ArgvFile>
19 'JSON::XS'         => 2.30, # <http://search.cpan.org/perldoc?JSON::XS>
20 # Minimum req.
21 'version'          => 0.77, # <http://search.cpan.org/perldoc?version>
22     },
23     'LICENSE'  => 'gpl',
24     'MAN1PODS' =>
25         { 'man1/clive.1.pod' => '$(INST_MAN1DIR)/clive.$(MAN1EXT)' },
26     dist => {
27         PREOP =>
28 '@if test -f .git/HEAD; then \
29         git log --stat --after="Tue Sep 28 02:13:39 2010" >ChangeLog; \
30 fi',
31         POSTOP   =>
32 '@if test -f .git/HEAD; then \
33         git checkout ChangeLog; \
34 fi',
35     },