2014-11-02 06:00:24 +08:00
|
|
|
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')
|
|
|
|
|
2015-06-10 05:06:49 +08:00
|
|
|
depends_on('gmp')
|
|
|
|
|
2014-11-02 06:00:24 +08:00
|
|
|
def install(self, spec, prefix):
|
|
|
|
configure("--prefix=%s" % prefix)
|
|
|
|
make()
|
|
|
|
make("install")
|