File: Makefile.PL

package info (click to toggle)
libgnupg-interface-perl 0.52-9
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,268 kB
  • ctags: 474
  • sloc: perl: 3,621; makefile: 10; sh: 1
file content (29 lines) | stat: -rw-r--r-- 712 bytes parent folder | download | duplicates (3)
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
use strict;
use warnings;
use inc::Module::Install;

print "which gpg ... ";
system("which", "gpg");
die "gpg (GnuPG) not found" if ( $? != 0 );

my $output = `gpg --version`;
die "Can't determine gpg version"
    unless $output =~ /^gpg \(GnuPG.*?\) (\d+\.\d+)/;
die "gpg (GnuPG) 1.4 or later is required" unless $1 >= 1.4;


author 'Frank J. Tobin';
abstract 'supply object methods for interacting with GnuPG';
name 'GnuPG-Interface';
version_from 'lib/GnuPG/Interface.pm';
readme_from 'lib/GnuPG/Interface.pm';
requires 'Moo' => '0.091011';
requires 'MooX::HandlesVia' => '0.001004';
requires 'MooX::late' => '0.014';
requires 'Math::BigInt' => '1.78';
requires 'Fatal';
license 'perl';


sign();
WriteAll();