X-Git-Url: http://git.ieval.ro/?p=image-openalpr.git;a=blobdiff_plain;f=Makefile.PL;fp=Makefile.PL;h=ef281e86187984b667065abcf8253159d83f2b58;hp=3abc42e66576104bbe64284ab7265a4210c68047;hb=8c12669490878d47452c271b0ff6ab6858060ab4;hpb=a6894b647651d195d60e7856a232b89d11459002 diff --git a/Makefile.PL b/Makefile.PL index 3abc42e..ef281e8 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,6 +1,10 @@ use 5.014000; +use Devel::CheckLib; use ExtUtils::MakeMaker; +check_lib_or_exit + lib => 'openalprpy'; + WriteMakefile( NAME => 'Image::OpenALPR', VERSION_FROM => 'lib/Image/OpenALPR.pm', @@ -9,13 +13,17 @@ WriteMakefile( MIN_PERL_VERSION => '5.14.0', LICENSE => 'open_source', SIGN => 1, + CONFIGURE_REQUIRES => { + qw/Devel::CheckLib 0 + ExtUtils::MakeMaker 0/, + }, PREREQ_PM => { qw/Class::Accessor::Fast 0 JSON::MaybeXS 0/, }, LIBS => ['-lopenalprpy'], META_ADD => { - dynamic_config => 0, + dynamic_config => 1, resources => { repository => 'https://git.ieval.ro/?p=image-openalpr.git', },