X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=Makefile.PL;h=73fe222870f4281e1abf738ef489a4c779958cd8;hb=af1c0391fb41e5119a084fec65e88faeb8e3042d;hp=d96092aba9e66a333b0465030973e1730fafd069;hpb=acade63e6ac6af20a42ed56867cc3124127c1ad1;p=io-compress-brotli.git diff --git a/Makefile.PL b/Makefile.PL index d96092a..73fe222 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -4,7 +4,7 @@ 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', @@ -13,10 +13,10 @@ WriteMakefile( PREREQ_PM => { 'File::Slurp' => '0', 'Getopt::Long' => '0', - 'Time:HiRes' => '0', + 'Time::HiRes' => '0', }, BUILD_REQUIRES => {}, - INC => '-Ibrotli', + INC => '-Ibrotli/c/include', MYEXTLIB => 'brotli/libbrotli$(LIB_EXT)', clean => { FILES => 'brotli/libbrotli$(LIB_EXT)' }, META_ADD => { @@ -30,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 ' }