summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/cargs/package.py
blob: 32a5cc166a585631479f30eff8efebdeb72d44b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 Cargs(CMakePackage):
    """A lightweight cross-platform C/C++ getopt alternative that works on
    Linux, Windows and macOS."""

    homepage = "https://likle.github.io/cargs/"
    url = "https://github.com/likle/cargs/archive/refs/tags/v1.0.3.tar.gz"
    git = "https://github.com/likle/cargs.git"

    license("MIT")

    version("1.0.3", sha256="ddba25bd35e9c6c75bc706c126001b8ce8e084d40ef37050e6aa6963e836eb8b")

    depends_on("cmake@3.14.7:", type=("build"))