summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/minisign/package.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/minisign/package.py b/var/spack/repos/builtin/packages/minisign/package.py
index cc981101c8..eabc481236 100644
--- a/var/spack/repos/builtin/packages/minisign/package.py
+++ b/var/spack/repos/builtin/packages/minisign/package.py
@@ -11,8 +11,16 @@ class Minisign(CMakePackage):
homepage = "https://jedisct1.github.io/minisign/"
url = "https://github.com/jedisct1/minisign/archive/0.7.tar.gz"
+ maintainers = ['alalazo']
+
version('0.9', sha256='caa4b3dd314e065c6f387b2713f7603673e39a8a0b1a76f96ef6c9a5b845da0f')
version('0.8', sha256='130eb5246076bc7ec42f13495a601382e566bb6733430d40a68de5e43a7f1082')
version('0.7', sha256='0c9f25ae647b6ba38cf7e6aea1da4e8fb20e1bc64ef0c679da737a38c8ad43ef')
+ variant('static', default=True,
+ description='builds a static version of the executable')
+
depends_on('libsodium')
+
+ def cmake_args(self):
+ return [self.define_from_variant('STATIC_LIBSODIUM', 'static')]