summaryrefslogblamecommitdiff
path: root/var/spack/repos/builtin.mock/packages/bzip2/package.py
blob: c703594de19f61dbe8745050315e152e928d90f9 (plain) (tree)
1
                                                                         

















                                                                                               
# Copyright 2013-2024 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 Bzip2(Package):
    """This packagae has the variants shared
    defaulted to True"""

    homepage = "https://example.com"
    url = "https://example.com/bzip2-1.0.8tar.gz"

    version("1.0.8", sha256="ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269")

    variant("shared", default=True, description="Enables the build of shared libraries.")