Protocol-OTR
view release on metacpan or search on metacpan
Revision history for Perl extension Protocol::OTR.
0.05 2014-12-08 10:12:08
Fix unit test prereqs
0.04 2014-12-08 05:19:48
Add paths to libgpg-error and libgcrypt during the compilation.
0.03 2014-11-19 00:31:32
Support interactive SMP verification with $channel->smp_respond($answer).
Add method to retrieve status of channel.
Documentation fixes.
0.02 2014-06-16 21:59:43
Remove debug.
Add example XMPP client.
Makefile.PL view on Meta::CPAN
use strict;
use warnings;
use ExtUtils::MakeMaker;
use Alien::OTR;
use Alien::GCrypt;
use Alien::GPG::Error;
my $libotr = Alien::OTR->new;
my $libgcrypt = Alien::GCrypt->new;
my $libgpgerror = Alien::GPG::Error->new;
WriteMakefile(
NAME => 'Protocol::OTR',
VERSION_FROM => 'lib/Protocol/OTR.pm',
PREREQ_PM => {
'Alien::OTR' => '4.1.0.0',
'Params::Validate' => 0,
'Scalar::Util' => 0,
},
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'lib/Protocol/OTR.pm', # retrieve abstract from module
AUTHOR => 'Alex J. G. BurzyÅski <ajgb\@cpan.org>') : ()),
LICENSE => 'perl',
LIBS => [$libotr->libs, $libgcrypt->libs, $libgpgerror->libs], # e.g., '-lm'
INC => join(' ', "-I.", $libotr->cflags, $libgcrypt->cflags, $libgpgerror->cflags), # e.g., '-I. -I/usr/include/other'
CONFIGURE_REQUIRES => {
'Alien::OTR' => '4.1.0.0',
},
TEST_REQUIRES => {
'Params::Validate' => 0,
'IPC::Open3' => 0,
'IO::Handle' => 0,
'File::Temp' => 0,
'File::Spec' => 0,
},
( run in 0.997 second using v1.01-cache-2.11-cpan-df04353d9ac )