]>
Commit | Line | Data |
---|---|---|
1 | use 5.014000; | |
2 | use ExtUtils::MakeMaker; | |
3 | ||
4 | WriteMakefile( | |
5 | NAME => 'IO::Compress::Brotli', | |
6 | VERSION_FROM => 'lib/IO/Compress/Brotli.pm', | |
7 | ABSTRACT => 'Read Brotli buffers/streams', | |
8 | AUTHOR => 'Marius Gavrilescu <marius@ieval.ro>', | |
9 | MIN_PERL_VERSION => '5.14.0', | |
10 | LICENSE => 'perl', | |
11 | SIGN => 1, | |
12 | EXE_FILES => [ 'bin/bro-perl' ], | |
13 | PREREQ_PM => { | |
14 | 'File::Slurp' => '0', | |
15 | 'Getopt::Long' => '0', | |
16 | 'Time:HiRes' => '0', | |
17 | }, | |
18 | BUILD_REQUIRES => {}, | |
19 | INC => '-Ibrotli', | |
20 | MYEXTLIB => 'brotli/libbrotli$(LIB_EXT)', | |
21 | clean => { FILES => 'brotli/libbrotli$(LIB_EXT)' }, | |
22 | META_ADD => { | |
23 | dynamic_config => 0, | |
24 | resources => { | |
25 | repository => 'https://git.ieval.ro/?p=io-compress-brotli.git', | |
26 | }, | |
27 | } | |
28 | ); | |
29 | ||
30 | sub MY::postamble { | |
31 | ' | |
32 | $(MYEXTLIB): brotli/Makefile | |
33 | cd brotli && CFLAGS=-fPIC $(MAKE) lib | |
34 | ' | |
35 | } |