]> iEval git - io-compress-brotli.git/blobdiff - Makefile.PL
Add all contributors to the POD
[io-compress-brotli.git] / Makefile.PL
index a44b60729072c298cac248a078d4a514ce32f334..d96092aba9e66a333b0465030973e1730fafd069 100644 (file)
@@ -9,14 +9,16 @@ WriteMakefile(
        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::Slurp'  => '0',
+               'Getopt::Long' => '0',
+               'Time:HiRes'   => '0',
        },
-       INC              => '-I.',
-       OBJECT           => 'Brotli.o bit_reader.o decode.o dictionary.o huffman.o state.o streams.o',
-       C                => [<dec/*c>],
-       depend           => {'$(INST_DYNAMIC)' => '$(O_FILES)'},
+       BUILD_REQUIRES   => {},
+       INC              => '-Ibrotli',
+       MYEXTLIB         => 'brotli/libbrotli$(LIB_EXT)',
+       clean            => { FILES => 'brotli/libbrotli$(LIB_EXT)' },
        META_ADD         => {
                dynamic_config => 0,
                resources      => {
@@ -24,3 +26,10 @@ WriteMakefile(
                },
        }
 );
+
+sub MY::postamble {
+'
+$(MYEXTLIB): brotli/Makefile
+       cd brotli && CFLAGS=-fPIC $(MAKE) lib
+'
+}
This page took 0.022245 seconds and 4 git commands to generate.