File: Build.PL

package info (click to toggle)
libnet-snmp-perl 6.0.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 904 kB
  • sloc: perl: 7,790; makefile: 9
file content (56 lines) | stat: -rw-r--r-- 1,836 bytes parent folder | download | duplicates (4)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# -*- mode: perl -*-
# ============================================================================

# $Id: Build.PL,v 6.0 2009/09/09 15:05:32 dtown Rel $

# Build.PL file for the Perl module Net::SNMP.

# Copyright (c) 2008-2009 David M. Town <dtown@cpan.org>
# All rights reserved.

# This program is free software; you may redistribute it and/or modify it
# under the same terms as the Perl 5 programming language system itself.

# ============================================================================

use Module::Build;

Module::Build->new(
   module_name        => 'Net::SNMP',
   dist_author        => 'David M. Town <dtown@cpan.org>',
   dist_abstract      => 'Object oriented interface to SNMP',
   dist_version_from  => 'lib/Net/SNMP.pm',
   license            => 'perl',
   script_files       => [ 'snmpkey', ],
   PL_files           => { 'snmpkey.PL' => 'snmpkey', },
   build_requires     => {
      Test            => 0,
   },
   requires           => {
      perl            => '5.006',
      Carp            => 0,
      Errno           => 0,
      Exporter        => 0,
      IO::Socket      => 0,
      Math::BigInt    => 0,
   },
   recommends         => {
      Crypt::DES      => '2.03',  # SNMPv3
      Digest::MD5     => '2.11',  # SNMPv3
      Digest::HMAC    => '1.00',  # SNMPv3
      Crypt::Rijndael => '1.02',  # SNMPv3 - AES Cipher Algorithm 
      Socket6         => '0.23',  # UDP/IPv6 or TCP/IPv6 Transport Domain 
   },
   meta_merge         => {
      resources       => {
         bugtracker   =>
            'http://rt.cpan.org/Public/Dist/Display.html?Name=Net-SNMP',
         CPANForum    => 'http://www.cpanforum.com/dist/Net-SNMP',
      },
   },
   create_license     => 1,
)->create_build_script();

exit 0;

# ============================================================================