summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/yasm/package.py
blob: d3a695b16d382092c31e60ff6402eac642ccc4cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from spack import *

class Yasm(Package):
    """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 = "http://yasm.tortall.net"
    url      = "http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz"

    version('1.3.0', 'fc9e586751ff789b34b1f21d572d96af')

    def install(self, spec, prefix):
        configure("--prefix=%s" % prefix)
        make()
        make("install")