Makefile.PL: Bump Perl prerequisite to 5.10.1
[grake.git] / Makefile.PL
blob5b811e03163a39e4f0405af557d79e82c70af39d
1 #!/usr/bin/env perl
3 use warnings;
4 use strict;
6 use 5.010001;
7 use ExtUtils::MakeMaker;
9 WriteMakefile(
10 'NAME' => 'grake',
11 ( $[ >= 5.8 )
12 ? ( AUTHOR => 'Toni Gundogdu <legatvs at sign gmail com>',
13 'ABSTRACT' => 'YouTube video URL scanner',
15 : (),
16 'VERSION_FROM' => 'bin/grake',
17 'EXE_FILES' => ['bin/grake'],
18 'PREREQ_PM' => {
19 # Earlier versions may work -- confirmed to work with:
20 #'Umph::Prompt' => 0.1.0, # <http://umph.googlecode.com/>
21 'Getopt::ArgvFile' => 1.11, # <http://search.cpan.org/perldoc?Getopt::ArgvFile>
22 'LWP::UserAgent' => 5.835, # <http://search.cpan.org/perldoc?LWP::UserAgent>
23 'version' => 0.77, # <http://search.cpan.org/perldoc?version>
25 'LICENSE' => 'gpl',
26 dist => {
27 PREOP =>
28 '@if test -f .git/HEAD; then \
29 git log --stat --after="Thu Nov 30 12:14:37 2010" >ChangeLog; \
30 fi',
31 POSTOP =>
32 '@if test -f .git/HEAD; then \
33 git checkout ChangeLog; \
34 fi',