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 57
|
# -*- mode: perl -*-
# ============================================================================
# $Id: Makefile.PL,v 6.0 2009/09/09 15:07:28 dtown Rel $
# Makefile for the Perl module Net::SNMP.
# Copyright (c) 1998-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.
# ============================================================================
eval { require 5.006 } or die <<'EOD';
This version of Net::SNMP uses syntax that is not supported
in versions of Perl earlier than v5.6.0.
Unable to install Net::SNMP with the current version of Perl.
EOD
use ExtUtils::MakeMaker qw(WriteMakefile);
WriteMakefile(
AUTHOR => 'David M. Town <dtown@cpan.org>',
ABSTRACT => 'Object oriented interface to SNMP',
NAME => 'Net::SNMP',
DISTNAME => 'Net-SNMP',
VERSION_FROM => 'lib/Net/SNMP.pm',
EXE_FILES => [ 'snmpkey', ],
PL_FILES => { 'snmpkey.PL' => 'snmpkey', },
PREREQ_PM => {
Carp => 0,
Errno => 0,
Exporter => 0,
IO::Socket => 0,
Math::BigInt => 0,
Crypt::DES => '2.03', # SNMPv3
Digest::MD5 => '2.11', # SNMPv3
Digest::HMAC => '1.00', # SNMPv3
},
dist => {
CI => 'ci -u -sRel -m\"Changes for $(VERSION)\"',
RCS_LABEL => 'rcs -N$(VERSION_SYM): -q',
COMPRESS => 'gzip --best',
SUFFIX => 'gz',
},
($ExtUtils::MakeMaker::VERSION ge '6.31' ? ( 'LICENSE' => 'perl' ) : ()),
);
exit 0;
# ============================================================================
|