]>
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' => '9999.19', | |
15 | 'Getopt::Long' => '2.45', | |
16 | }, | |
17 | BUILD_REQUIRES => {}, | |
18 | INC => '-Ibrotli', | |
19 | MYEXTLIB => 'brotli/libbrotli$(LIB_EXT)', | |
20 | clean => { FILES => 'brotli/libbrotli$(LIB_EXT)' }, | |
21 | META_ADD => { | |
22 | dynamic_config => 0, | |
23 | resources => { | |
24 | repository => 'https://git.ieval.ro/?p=io-compress-brotli.git', | |
25 | }, | |
26 | } | |
27 | ); | |
28 | ||
29 | sub MY::postamble { | |
30 | ' | |
31 | $(MYEXTLIB): brotli/Makefile | |
32 | cd brotli && CFLAGS=-fPIC $(MAKE) lib | |
33 | ' | |
34 | } |