forked from net-amqp-rabbitmq/net-amqp-rabbitmq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
39 lines (36 loc) · 1.13 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
use strict;
use warnings;
require 5.008 ;
use ExtUtils::MakeMaker 5.16 ;
use Config;
use FindBin qw/$Bin/;
my $ofiles = '';
foreach ( <$Bin/*.c> ){
$_ =~ s/.c$/.o/;
$ofiles .= "$_ ";
}
WriteMakefile(
NAME => 'Net::AMQP::RabbitMQ',
VERSION_FROM => 'RabbitMQ.pm',
LICENSE => 'mozilla_1_1',
ABSTRACT_FROM => 'RabbitMQ.pm',
AUTHOR => 'Mark Ellis <[email protected]>, Michael Stemle, Jr. <[email protected]>',
OBJECT => "RabbitMQ.o ${ofiles}",
OPTIMIZE => $ENV{'OPTIMIZE'},
CCFLAGS => "$Config{ccflags} -I${Bin}",
DEFINE => "-DAMQ_PLATFORM='\"Perl_$^O_$^V\"'",
LIBS =>['-lrt'],
META_MERGE => {
"meta-spec" => { version => 2 },
resources => {
bugtracker => {
web => 'https://github.com/markwellis/net-amqp-rabbitmq/issues',
},
repository => {
type => 'git',
url => 'git://github.com/markwellis/net-amqp-rabbitmq.git',
web => 'https://github.com/markwellis/net-amqp-rabbitmq',
},
},
},
);