mirror of
https://codeberg.org/scip/Crypt--PWSafe3.git
synced 2025-12-16 20:21:01 +01:00
44 lines
1.1 KiB
Perl
44 lines
1.1 KiB
Perl
#
|
|
# Copyright (c) 2011-2015 T.v.Dein <tlinden |AT| cpan.org>.
|
|
#
|
|
# Licensed under the terms of the Artistic License 2.0
|
|
# see: http://www.perlfoundation.org/artistic_license_2_0
|
|
#
|
|
|
|
require 5.004;
|
|
use ExtUtils::MakeMaker;
|
|
|
|
my %optional = (
|
|
'Bytes::Random::Secure' => 0.09,
|
|
);
|
|
|
|
foreach my $module (sort keys %optional) {
|
|
eval "require $module";
|
|
if ($@) {
|
|
warn("Optional module $module not installed, $optional{$module}\n");
|
|
}
|
|
}
|
|
|
|
|
|
WriteMakefile(
|
|
'NAME' => 'Crypt::PWSafe3',
|
|
'VERSION_FROM' => 'lib/Crypt/PWSafe3.pm',
|
|
'PREREQ_PM' => { 'Digest::HMAC' => 1.00,
|
|
'Digest::SHA' => 1.00,
|
|
'Crypt::CBC' => 2.30,
|
|
'Crypt::ECB' => 1.45,
|
|
'Crypt::Twofish' => 2.14,
|
|
'Crypt::Random' => 1.25,
|
|
'Data::UUID' => 1.217,
|
|
'Shell' => 0.5,
|
|
'File::Temp' => 0,
|
|
},
|
|
'AUTHOR' => 'T.v.Dein <tlinden@cpan.org>',
|
|
'clean' => {
|
|
FILES => 't/*.out *~ */*~ */*/*~ */*/*/*~'
|
|
},
|
|
($ExtUtils::MakeMaker::VERSION >= 6.3002 ? ('LICENSE' => 'perl', ) : ()),
|
|
|
|
);
|
|
|