File: README

package info (click to toggle)
libcrypt-gcrypt-perl 1.26-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 364 kB
  • sloc: perl: 237; makefile: 3
file content (84 lines) | stat: -rw-r--r-- 2,204 bytes parent folder | download | duplicates (6)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
$Id

--------
Abstract
--------

Crypt::GCrypt provides a Perl interface to the libgcrypt cryptographic
functions. It currently supports symmetric ciphers such as AES/Rikndael, 
Twofish, Triple DES, Arcfour etc., while asymmetric cryptography is being
developed.

------------
Requirements
------------

Crypt::GCrypt requires that libgcrypt is installed on your system. You can
use your favourite package manager or download the latest version of libgcrypt 
at the GNU site:

ftp://ftp.gnupg.org/gcrypt/libgcrypt/

and then you can install it just doing:

    $  ./configure
    $  make
    #  make install

Crypt::GCrypt was tested with libgcrypt 1.2.4.

If libgcrypt is installed, but in a non-standard directory, then use the
following options to Makefile.PL:

    GCRYPTLIBPATH=...  To set the directory in which to find libgcrypt
    GCRYPTINCPATH=...  To set the directory in which to find gcrypt.h

For example:
    perl Makefile.PL GCRYPTLIBPATH=/home/me/lib GCRYPTINCPATH=/home/me/include

Note that if you build against a shareable library in a non-standard location
you may (on some platforms) also have to set your LD_LIBRARY_PATH environment
variable at run time for perl to find the library.

------------------
Basic Installation
------------------

Crypt::GCrypt may be installed through the CPAN shell in
the usual manner.  Typically:

  $ perl -MCPAN -e 'install Crypt::GCrypt'

You can also read this README from the CPAN shell:

  $ perl -MCPAN -e shell
  cpan> readme Crypt::GCrypt

And you can install the component from the CPAN prompt as well:

  cpan> install Crypt::GCrypt

-------------------
Manual Installation
-------------------

This module may also be installed manually.  Its distribution is
available from the author's CPAN directory,
<ftp://ftp.cpan.org/pub/CPAN/authors/id/A/AA/AAR/>, or a similarly
named directory at your favorite CPAN mirror.

Downloading and unpacking the distribution are left as exercises for
the reader.  To build and test it:

  perl Makefile.PL
  make test

When you're ready to install the component:

  make install

It should now be ready to use.

Thanks for reading!

-- Alessandro Ranellucci / aar@cpan.org / http://alex.primafila.net