spack/var/spack/repos/builtin/packages/yasm/package.py
Harmen Stoppels 7b9f8abce5
Add depends_on([c,cxx,fortran]) (#45217)
Add language dependencies `c`, `cxx`, and `fortran`.

These `depends_on` statements are auto-generated based on file extensions found
in source tarballs/zipfiles.

The `# generated` comment can be removed by package maintainers after
validating correctness.
2024-07-17 16:07:43 +02:00

30 lines
1.0 KiB
Python

# 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 Yasm(AutotoolsPackage):
"""Yasm is a complete rewrite of the NASM-2.11.06 assembler. It
supports the x86 and AMD64 instruction sets, accepts NASM and
GAS assembler syntaxes and outputs binary, ELF32 and ELF64
object formats."""
homepage = "https://yasm.tortall.net"
url = "https://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz"
git = "https://github.com/yasm/yasm.git"
license("BSD-2-Clause")
version("develop", branch="master")
version("1.3.0", sha256="3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f")
depends_on("c", type="build") # generated
depends_on("autoconf", when="@develop")
depends_on("automake", when="@develop")
depends_on("libtool", when="@develop")
depends_on("m4", when="@develop")