summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-03-11 13:31:58 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2016-03-11 13:31:58 -0800
commit081bdd0828c2f676874d210c54c11dc5b92f9cff (patch)
treeab3fd893978527f38ae4dc8b2a101b0d33d889ff /var
parent3060f27909558e39498fbc88491bb21b4398fd84 (diff)
parentb701aa10d4b40eda3d5ea3f0c96b5aed7493c7a7 (diff)
downloadspack-081bdd0828c2f676874d210c54c11dc5b92f9cff.tar.gz
spack-081bdd0828c2f676874d210c54c11dc5b92f9cff.tar.bz2
spack-081bdd0828c2f676874d210c54c11dc5b92f9cff.tar.xz
spack-081bdd0828c2f676874d210c54c11dc5b92f9cff.zip
Merge pull request #528 from citibeth/efischer/160309-Emacs
Added Emacs package
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/emacs/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/emacs/package.py b/var/spack/repos/builtin/packages/emacs/package.py
new file mode 100644
index 0000000000..09eb05d5a7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/emacs/package.py
@@ -0,0 +1,19 @@
+from spack import *
+
+class Emacs(Package):
+ """The Emacs programmable text editor."""
+ homepage = "https://www.gnu.org/software/emacs"
+ url = "http://ftp.gnu.org/gnu/emacs/emacs-24.5.tar.gz"
+
+ version('24.5', 'd74b597503a68105e61b5b9f6d065b44')
+
+ depends_on('ncurses')
+ # Emacs also depends on:
+ # GTK or other widget library
+ # libtiff, png, etc.
+ # For now, we assume the system provides all that stuff.
+
+ def install(self, spec, prefix):
+ configure('--prefix=%s' % prefix)
+ make()
+ make("install")