summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/signify/package.py
blob: e5db29c63621f4a8e4f3a969240e9a10dbcdc0dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack.package import *


class Signify(MakefilePackage):
    """OpenBSD tool to signs and verify signatures on files."""

    homepage = "https://github.com/aperezdc/signify"
    url = "https://github.com/aperezdc/signify/archive/v23.tar.gz"

    license("ISC")

    version("31", sha256="8111af7424f4cc69dab5cd43a14ccd607ca2d171ac77dd3ae288264a53254e5f")
    version("23", sha256="1c690bf0e4283e0764a4a9dd784cb3debf4bb456b975b275dd1aaac7d5afe030")

    depends_on("libbsd@0.8:")

    def setup_build_environment(self, env):
        env.set("PREFIX", self.prefix)