-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathMakefile.PL
58 lines (54 loc) · 1.83 KB
/
Makefile.PL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
use 5.008;
use strict;
use warnings;
use Config;
use ExtUtils::MakeMaker 6.64;
use Alien::Librdkafka 0.9.3;
use Alien::Base::Wrapper qw( Alien::Librdkafka !export );
use File::Spec ();
WriteMakefile(
NAME => 'Kafka::Librd',
AUTHOR => q{Graham Ollis <plicease@cpan.org>},
LICENSE => 'perl',
VERSION_FROM => 'lib/Kafka/Librd.pm',
ABSTRACT_FROM => 'lib/Kafka/Librd.pm',
OBJECT => 'Rdkafka.o rdkafkaxs.o',
PL_FILES => {},
PREREQ_PM => {
'Exporter::Lite' => '0',
},
TEST_REQUIRES => {
'Test::More' => '0.94',
},
CONFIGURE_REQUIRES => {
'Alien::Base::Wrapper' => '0',
'Alien::Librdkafka' => '0.9.3',
'ExtUtils::MakeMaker' => '6.64',
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Kafka-Librd-* const_xs.inc' },
depend => { 'Rdkafka.c' => 'const_xs.inc' },
META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
bugtracker => {
web => 'https://github.com/uperl/Kafka-Librd/issues',
},
homepage => 'https://metacpan.org/pod/Kafka::Librd',
repository => {
type => 'git',
url => 'https://github.com/uperl/Kafka-Librd.git',
web => 'https://github.com/uperl/Kafka-Librd',
},
},
x_contributors => [
'Pavel Shaydo <zwon@cpan.org>',
'Graham Ollis <plicease@cpan.org>',
],
},
Alien::Base::Wrapper->mm_args,
);
sub MY::postamble {
"const_xs.inc : @{[ File::Spec->catfile(qw( utils generate_const.pl )) ]}\n" .
"\t\$(FULLPERL) @{[ File::Spec->catfile(qw( utils generate_const.pl )) ]}\n";
}