]> iEval git - io-compress-brotli.git/blobdiff - Makefile.PL
Use gmake if available to compile brotli library
[io-compress-brotli.git] / Makefile.PL
index d96092aba9e66a333b0465030973e1730fafd069..72fce34eacd7ac67f26db531fb710abfc94ef2ba 100644 (file)
@@ -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 <marius@ieval.ro>',
        MIN_PERL_VERSION => '5.14.0',
        LICENSE          => 'perl',
@@ -13,7 +13,7 @@ WriteMakefile(
        PREREQ_PM        => {
                'File::Slurp'  => '0',
                'Getopt::Long' => '0',
-               'Time:HiRes'   => '0',
+               'Time::HiRes'  => '0',
        },
        BUILD_REQUIRES   => {},
        INC              => '-Ibrotli',
@@ -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
 '
 }
This page took 0.022887 seconds and 4 git commands to generate.