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 <marius@ieval.ro>',
MIN_PERL_VERSION => '5.14.0',
LICENSE => 'perl',
PREREQ_PM => {
'File::Slurp' => '0',
'Getopt::Long' => '0',
- 'Time:HiRes' => '0',
+ 'Time::HiRes' => '0',
},
BUILD_REQUIRES => {},
- INC => '-Ibrotli',
+ INC => '-Ibrotli/include',
MYEXTLIB => 'brotli/libbrotli$(LIB_EXT)',
clean => { FILES => 'brotli/libbrotli$(LIB_EXT)' },
META_ADD => {
sub MY::postamble {
'
$(MYEXTLIB): brotli/Makefile
- cd brotli && CFLAGS=-fPIC $(MAKE) lib
+ cd brotli && CFLAGS=-fPIC `which gmake || echo $(MAKE)` lib
'
}