fixed version extraction
[dbsrgits/DBIx-Class-RowCountStatistics.git] / Makefile.PL
CommitLineData
231ba12b 1use strict;
2use warnings FATAL => 'all';
3use ExtUtils::MakeMaker;
4
5(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
6
4899ea07 7my $eumm_version = eval $ExtUtils::MakeMaker::VERSION;
8
9my %_test_req = (
10 'Test::More' => 0,
11);
12my %_build_req = (
13 ($eumm_version < 6.63_03) ? (%_test_req) : (),
14);
15my %_req = (
16 ($eumm_version < 6.55_01) ? (%_build_req) : (),
17 'DBIx::Class' => 0,
18);
19
231ba12b 20WriteMakefile(
ef422264 21 NAME => 'DBIx::Class::RowCountStatistics',
a652016f 22 VERSION_FROM => 'lib/DBIx/Class/RowCountStatistics.pm',
c13b79f6 23 LICENSE => 'perl5',
4899ea07 24 TEST_REQUIRES => \%_test_req,
25 BUILD_REQUIRES => \%_build_req,
26 PREREQ_PM => \%_req,
231ba12b 27);