Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 85 lines (56 sloc) 2.204 kB
3dbccbb Updated docs to confirm compatibility with libgcrypt 1.2.4
al authored
1 $Id
2cc46b9 Initial import of CPAN version 1.16.
al authored
2
3 --------
4 Abstract
5 --------
6
7 Crypt::GCrypt provides a Perl interface to the libgcrypt cryptographic
8 functions. It currently supports symmetric ciphers such as AES/Rikndael,
9 Twofish, Triple DES, Arcfour etc., while asymmetric cryptography is being
10 developed.
11
12 ------------
13 Requirements
14 ------------
15
16 Crypt::GCrypt requires that libgcrypt is installed on your system. You can
ae8e8de - aggiornato Devel::CheckLib e finito di adattare Makefile.PL al suo …
al authored
17 use your favourite package manager or download the latest version of libgcrypt
18 at the GNU site:
2cc46b9 Initial import of CPAN version 1.16.
al authored
19
20 ftp://ftp.gnupg.org/gcrypt/libgcrypt/
21
22 and then you can install it just doing:
23
747bcce Cleanup whitespace.
al authored
24 $ ./configure
25 $ make
26 # make install
2cc46b9 Initial import of CPAN version 1.16.
al authored
27
3dbccbb Updated docs to confirm compatibility with libgcrypt 1.2.4
al authored
28 Crypt::GCrypt was tested with libgcrypt 1.2.4.
2cc46b9 Initial import of CPAN version 1.16.
al authored
29
ae8e8de - aggiornato Devel::CheckLib e finito di adattare Makefile.PL al suo …
al authored
30 If libgcrypt is installed, but in a non-standard directory, then use the
31 following options to Makefile.PL:
32
33 GCRYPTLIBPATH=... To set the directory in which to find libgcrypt
34 GCRYPTINCPATH=... To set the directory in which to find gcrypt.h
35
36 For example:
37 perl Makefile.PL GCRYPTLIBPATH=/home/me/lib GCRYPTINCPATH=/home/me/include
38
39 Note that if you build against a shareable library in a non-standard location
40 you may (on some platforms) also have to set your LD_LIBRARY_PATH environment
41 variable at run time for perl to find the library.
42
2cc46b9 Initial import of CPAN version 1.16.
al authored
43 ------------------
44 Basic Installation
45 ------------------
46
47 Crypt::GCrypt may be installed through the CPAN shell in
48 the usual manner. Typically:
49
50 $ perl -MCPAN -e 'install Crypt::GCrypt'
51
52 You can also read this README from the CPAN shell:
53
54 $ perl -MCPAN -e shell
55 cpan> readme Crypt::GCrypt
56
57 And you can install the component from the CPAN prompt as well:
58
59 cpan> install Crypt::GCrypt
60
61 -------------------
62 Manual Installation
63 -------------------
64
65 This module may also be installed manually. Its distribution is
66 available from the author's CPAN directory,
67 <ftp://ftp.cpan.org/pub/CPAN/authors/id/A/AA/AAR/>, or a similarly
68 named directory at your favorite CPAN mirror.
69
70 Downloading and unpacking the distribution are left as exercises for
71 the reader. To build and test it:
72
73 perl Makefile.PL
74 make test
75
76 When you're ready to install the component:
77
78 make install
79
80 It should now be ready to use.
81
82 Thanks for reading!
83
84 -- Alessandro Ranellucci / aar@cpan.org / http://alex.primafila.net
Something went wrong with that request. Please try again.