Replace File::Slurp with File::Slurper
[io-compress-brotli.git] / Makefile.PL
index e2649e74e7baba2efb109441060de7bdc12ac9ec..0c59c05342530133d64aa70694478280eddf69b7 100644 (file)
@@ -4,16 +4,19 @@ 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 <marius@ieval.ro>',
        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::Slurper' => '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         => {
@@ -27,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
 '
 }
This page took 0.009523 seconds and 4 git commands to generate.