2 use ExtUtils::MakeMaker;
5 NAME => 'IO::Compress::Brotli',
6 VERSION_FROM => 'lib/IO/Compress/Brotli.pm',
7 ABSTRACT => 'Read/write Brotli buffers/streams',
8 AUTHOR => 'Marius Gavrilescu <marius@ieval.ro>',
9 MIN_PERL_VERSION => '5.14.0',
12 EXE_FILES => [ 'bin/bro-perl' ],
14 'File::Slurper' => '0',
15 'Getopt::Long' => '0',
19 INC => '-Ibrotli/c/include',
20 MYEXTLIB => 'brotli/libbrotli$(LIB_EXT)',
21 clean => { FILES => 'brotli/libbrotli$(LIB_EXT)' },
25 repository => 'https://git.ieval.ro/?p=io-compress-brotli.git',
32 $(MYEXTLIB): brotli/Makefile
33 cd brotli && CFLAGS=-fPIC `which gmake || echo $(MAKE)` lib