forked from kamelkev/CSS-Inliner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
36 lines (31 loc) · 842 Bytes
/
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
use ExtUtils::MakeMaker;
my $pkg = 'CSS::Inliner';
my $module = 'lib/CSS/Inliner.pm';
WriteMakefile(
NAME => $pkg,
PMLIBDIRS => [ 'lib' ],
PREREQ_PM => {
'HTML::TreeBuilder' => 5.03,
'HTML::Query' => 0.09,
'LWP' => 0,
'URI' => 0,
'Test::More' => 0
},
'test' => {
TESTS => join(' ', map { glob } qw( t/*.t t/*/*.t )),
},
VERSION_FROM => $module,
AUTHOR => 'Kevin Kamel <[email protected]>',
ABSTRACT => 'Library for converting CSS <style> blocks to inline styles',
LICENSE => 'perl',
META_MERGE => {
resources => {
repository => 'http://github.com/kamelkev/CSS-Inliner',
},
},
);
sub MY::postamble {
package MY;
my $postamble = "all :: README\n\nREADME: $module\n\tpod2text $module > README";
return $postamble;
}