diff options
Diffstat (limited to 'Makefile.PL')
-rw-r--r-- | Makefile.PL | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/Makefile.PL b/Makefile.PL index 4129fa9..66990fe 100644 --- a/Makefile.PL +++ b/Makefile.PL | |||
@@ -1,5 +1,5 @@ | |||
1 | # SNMP Sendmail Statistics Module -*- perl -*- | 1 | # SNMP Sendmail Statistics Module -*- perl -*- |
2 | # Copyright (C) 2015 Sergey Poznyakoff <gray@gnu.org> | 2 | # Copyright (C) 2015, 2016 Sergey Poznyakoff <gray@gnu.org> |
3 | # | 3 | # |
4 | # This program is free software; you can redistribute it and/or modify | 4 | # This program is free software; you can redistribute it and/or modify |
5 | # it under the terms of the GNU General Public License as published by | 5 | # it under the terms of the GNU General Public License as published by |
@@ -14,13 +14,15 @@ | |||
14 | # You should have received a copy of the GNU General Public License | 14 | # You should have received a copy of the GNU General Public License |
15 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 | 16 | ||
17 | use strict; | ||
17 | use ExtUtils::MakeMaker; | 18 | use ExtUtils::MakeMaker; |
19 | use Module::Metadata; | ||
18 | 20 | ||
19 | WriteMakefile( | 21 | WriteMakefile( |
20 | 'NAME' => 'NetSNMP::Sendmail', | 22 | 'NAME' => 'NetSNMP::Sendmail', |
21 | 'AUTHOR' => 'Sergey Poznyakoff <gray@gnu.org>', | 23 | 'AUTHOR' => 'Sergey Poznyakoff <gray@gnu.org>', |
22 | 'ABSTRACT' => 'NetSNMP module for Sendmail statistics', | 24 | 'ABSTRACT' => 'NetSNMP module for Sendmail statistics', |
23 | 'LICENSE' => 'gpl_v3', | 25 | 'LICENSE' => 'gpl_3', |
24 | 'FIRST_MAKEFILE' => 'Makefile', | 26 | 'FIRST_MAKEFILE' => 'Makefile', |
25 | 'VERSION_FROM' => 'sendmail.pl', | 27 | 'VERSION_FROM' => 'sendmail.pl', |
26 | 'PM' => { | 28 | 'PM' => { |
@@ -28,7 +30,21 @@ WriteMakefile( | |||
28 | }, | 30 | }, |
29 | 'PREREQ_PM' => { 'NetSNMP::OID' => 0, | 31 | 'PREREQ_PM' => { 'NetSNMP::OID' => 0, |
30 | 'NetSNMP::agent' => 0, | 32 | 'NetSNMP::agent' => 0, |
31 | 'NetSNMP::ASN' => 0 } | 33 | 'NetSNMP::ASN' => 0 }, |
34 | MIN_PERL_VERSION => 5.10.0, | ||
35 | META_MERGE => { | ||
36 | 'meta-spec' => { version => 2 }, | ||
37 | resources => { | ||
38 | repository => { | ||
39 | type => 'git', | ||
40 | url => 'git://git.gnu.org.ua/netsnmp-sendmail.git', | ||
41 | web => 'http://git.gnu.org.ua/cgit/netsnmp-sendmail.git/', | ||
42 | }, | ||
43 | provides => Module::Metadata->provides(version => '2', | ||
44 | dir=>'$(INST_LIBDIR)') | ||
45 | |||
46 | } | ||
47 | } | ||
32 | ); | 48 | ); |
33 | 49 | ||
34 | sub MY::postamble { | 50 | sub MY::postamble { |