File: Makefile.PL

package info (click to toggle)
libtext-multimarkdown-perl 1.000034-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,768 kB
  • sloc: perl: 2,131; makefile: 12
file content (29 lines) | stat: -rw-r--r-- 934 bytes parent folder | download
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
# Load the Module::Install bundled in ./inc/
use inc::Module::Install;

# Define metadata
name            'Text-MultiMarkdown';
author          'Tomas Doran <bobtfish@bobtfish.net>';
license         'bsd';
all_from        'lib/Text/MultiMarkdown.pm';
resources repository => 'http://github.com/bobtfish/text-multimarkdown/';
resources bugtracker => 'http://github.com/bobtfish/text-multimarkdown/issues';

# Specific dependencies
perl_version    '5.008';
requires        'Digest::MD5'     => undef;
requires        'Text::Markdown'  => '1.0.26';
requires        'Encode'          => undef;
build_requires  'Test::More'      => '0.42';
build_requires  'Test::Exception' => undef;
build_requires  'List::MoreUtils' => undef;
build_requires  'FindBin'         => undef;

if ($Module::Install::AUTHOR) {
    system("pod2text lib/Text/MultiMarkdown.pm > README")
        and die $!;
}

install_script 'script/MultiMarkdown.pl';

WriteAll;