summaryrefslogtreecommitdiff
path: root/var/spack/packages/libgcrypt/package.py
blob: 1d0a57f31763a2656bcfd6bf45c6de8e0363e8f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from spack import *

class Libgcrypt(Package):
    """Libgcrypt is a general purpose cryptographic library based on
       the code from GnuPG. It provides functions for all cryptographic
       building blocks: symmetric ciphers, hash algorithms, MACs, public
       key algorithms, large integer functions, random numbers and a lot
       of supporting functions. """
    homepage = "http://www.gnu.org/software/libgcrypt/"
    url      = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.6.2.tar.bz2"

    version('1.6.2', 'b54395a93cb1e57619943c082da09d5f')

    depends_on("libgpg-error")

    def install(self, spec, prefix):
        configure("--prefix=%s" % prefix)
        make()
        make("install")