Add libbrotli.a to the clean targets
[io-compress-brotli.git] / Makefile.PL
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 PREREQ_PM => {},
13 BUILD_REQUIRES => {
14 qw/File::Slurp 0/,
15 },
16 INC => '-Ibrotli',
17 MYEXTLIB => 'brotli/libbrotli$(LIB_EXT)',
18 clean => { FILES => 'brotli/libbrotli$(LIB_EXT)' },
19 META_ADD => {
20 dynamic_config => 0,
21 resources => {
22 repository => 'https://git.ieval.ro/?p=io-compress-brotli.git',
23 },
24 }
25 );
26
27 sub MY::postamble {
28 '
29 $(MYEXTLIB): brotli/Makefile
30 cd brotli && CFLAGS=-fPIC $(MAKE) lib
31 '
32 }
This page took 0.022323 seconds and 5 git commands to generate.