File: Build.PL

package info (click to toggle)
libwebservice-cia-perl 1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 680 kB
  • ctags: 46
  • sloc: perl: 3,707; makefile: 5
file content (26 lines) | stat: -rw-r--r-- 734 bytes parent folder | download | duplicates (5)
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
use strict;
use Module::Build;

my $build = Module::Build->new(
    module_name  => 'WebService::CIA',
    license      => 'perl',
    script_files => ['webservice-cia-makedbm.pl'],
    requires     => {
        'MLDBM'          => '2.01',
        'Storable'       => '2.0',
        'DB_File'        => '1.8',
        'LWP::UserAgent' => '2.0',
        'Crypt::SSLeay'  => '0',
    },
    build_requires => {
        'Test::More'    => '0',
        'Module::Build' => '0',
    },
    create_makefile_pl => 'passthrough',
);

#print "Some tests require an internet connection\n";
#$build->notes('internet' => ($build->y_n("Run internet-based tests?", "y")?"yes":"no"));
$build->notes('internet' => "no");

$build->create_build_script;