summaryrefslogtreecommitdiff
path: root/var/spack/packages/nasm/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/packages/nasm/package.py')
-rw-r--r--var/spack/packages/nasm/package.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/var/spack/packages/nasm/package.py b/var/spack/packages/nasm/package.py
new file mode 100644
index 0000000000..933b6a62c5
--- /dev/null
+++ b/var/spack/packages/nasm/package.py
@@ -0,0 +1,14 @@
+from spack import *
+
+class Nasm(Package):
+ """NASM (Netwide Assembler) is an 80x86 assembler designed for
+ portability and modularity. It includes a disassembler as well."""
+ homepage = "http://www.nasm.us"
+ url = "http://www.nasm.us/pub/nasm/releasebuilds/2.11.06/nasm-2.11.06.tar.xz"
+
+ version('2.11.06', '2b958e9f5d200641e6fc9564977aecc5')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+ make()
+ make("install")