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

class Nettle(Package):
    """The Nettle package contains the low-level cryptographic library
    that is designed to fit easily in many contexts."""

    homepage = "http://www.example.com"
    url      = "http://ftp.gnu.org/gnu/nettle/nettle-2.7.1.tar.gz"

    version('2.7', '2caa1bd667c35db71becb93c5d89737f')

    depends_on('gmp')

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