1 |
use ExtUtils::MakeMaker; |
2 |
use ExtUtils::PkgConfig; |
3 |
use EV::MakeMaker; |
4 |
|
5 |
%glib = ExtUtils::PkgConfig->find ("glib-2.0"); |
6 |
|
7 |
my $mm = MM->new({EV::MakeMaker::ev_args ( |
8 |
dist => { |
9 |
PREOP => 'pod2text EV.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', |
10 |
COMPRESS => 'gzip -9v', |
11 |
SUFFIX => '.gz', |
12 |
}, |
13 |
NAME => "Glib::EV", |
14 |
VERSION_FROM => "EV.pm", |
15 |
CCFLAGS => $glib{cflags}, |
16 |
LIBS => [$glib{libs}], |
17 |
PREREQ_FATAL => 1, |
18 |
PREREQ_PM => { |
19 |
EV => 1.3, |
20 |
ExtUtils::PkgConfig => 0, |
21 |
}, |
22 |
EXTRA_META => q{ |
23 |
configure_requires: |
24 |
ExtUtils::PkgConfig:0 |
25 |
EV:1.3 |
26 |
}, |
27 |
|
28 |
)}); |
29 |
|
30 |
$mm->flush; |
31 |
|