summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/yasm/package.py
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-01-17 19:42:28 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2016-01-19 01:16:08 -0800
commit8d6342c53d91f302204d0bbb54f06978a6de26a7 (patch)
tree8848c00c94c5c87bd8c6fb4882e4362920d7096e /var/spack/repos/builtin/packages/yasm/package.py
parentd802165e039a3661831e84ecbdd31f1c4107d39d (diff)
parent97b492756acce93dbd5f1c305504f07df7582ba0 (diff)
downloadspack-8d6342c53d91f302204d0bbb54f06978a6de26a7.tar.gz
spack-8d6342c53d91f302204d0bbb54f06978a6de26a7.tar.bz2
spack-8d6342c53d91f302204d0bbb54f06978a6de26a7.tar.xz
spack-8d6342c53d91f302204d0bbb54f06978a6de26a7.zip
Merge branch 'mplegendre-multi_pkgsrc_roots' into develop
- This moves var/spack/packages to var/spack/repos/builtin/packages. - Packages that did not exist in the source branch, or were changed in develop, were moved into var/spack/repos/builtin/packages as part of the integration. Conflicts: lib/spack/spack/test/unit_install.py var/spack/repos/builtin/packages/clang/package.py
Diffstat (limited to 'var/spack/repos/builtin/packages/yasm/package.py')
-rw-r--r--var/spack/repos/builtin/packages/yasm/package.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/yasm/package.py b/var/spack/repos/builtin/packages/yasm/package.py
new file mode 100644
index 0000000000..d3a695b16d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/yasm/package.py
@@ -0,0 +1,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")