X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=Makefile.PL;h=73fe222870f4281e1abf738ef489a4c779958cd8;hb=5b02a525718a9d2b82f1f5d15b5edd8dcf82f29a;hp=f522b93b6372bd7a2308d71d0ef1394cf794b7be;hpb=fd0f6b130ce1fb819de157da52d543bcf366bcd4;p=io-compress-brotli.git diff --git a/Makefile.PL b/Makefile.PL index f522b93..73fe222 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -4,17 +4,21 @@ use ExtUtils::MakeMaker; WriteMakefile( NAME => 'IO::Compress::Brotli', VERSION_FROM => 'lib/IO/Compress/Brotli.pm', - ABSTRACT => 'Read Brotli buffers/streams', + ABSTRACT => 'Read/write Brotli buffers/streams', AUTHOR => 'Marius Gavrilescu ', MIN_PERL_VERSION => '5.14.0', LICENSE => 'perl', SIGN => 1, - PREREQ_PM => {}, - BUILD_REQUIRES => { - qw/File::Slurp 0/, + EXE_FILES => [ 'bin/bro-perl' ], + PREREQ_PM => { + 'File::Slurp' => '0', + 'Getopt::Long' => '0', + 'Time::HiRes' => '0', }, - INC => '-Ibrotli', + BUILD_REQUIRES => {}, + INC => '-Ibrotli/c/include', MYEXTLIB => 'brotli/libbrotli$(LIB_EXT)', + clean => { FILES => 'brotli/libbrotli$(LIB_EXT)' }, META_ADD => { dynamic_config => 0, resources => { @@ -26,6 +30,6 @@ WriteMakefile( sub MY::postamble { ' $(MYEXTLIB): brotli/Makefile - cd brotli && CFLAGS=-fPIC $(MAKE) lib + cd brotli && CFLAGS=-fPIC `which gmake || echo $(MAKE)` lib ' }